From 55ee736a4f4c8a34dc7a747e2ddb7d0f41520e09 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 19 Feb 2019 13:28:16 +0000 Subject: [PATCH] unbound: fix rubocop 0.65.0 style. --- Formula/unbound.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/unbound.rb b/Formula/unbound.rb index 486ed8ff64..c243480778 100644 --- a/Formula/unbound.rb +++ b/Formula/unbound.rb @@ -35,6 +35,7 @@ class Unbound < Formula conf = etc/"unbound/unbound.conf" return unless conf.exist? return unless conf.read.include?('username: "@@HOMEBREW-UNBOUND-USER@@"') + inreplace conf, 'username: "@@HOMEBREW-UNBOUND-USER@@"', "username: \"#{ENV["USER"]}\"" end