From 2627d1f9ea5719ace4fcaac0e2f6666f1cbf4be8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 19 Feb 2019 13:28:13 +0000 Subject: [PATCH] nagios: fix rubocop 0.65.0 style. --- Formula/nagios.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/nagios.rb b/Formula/nagios.rb index c4134ecdeb..f6763efd53 100644 --- a/Formula/nagios.rb +++ b/Formula/nagios.rb @@ -70,6 +70,7 @@ class Nagios < Formula config = etc/"nagios/nagios.cfg" return unless File.exist?(config) return if File.read(config).include?(ENV["USER"]) + inreplace config, "brew", ENV["USER"] end