diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 9f9ebdb1b5..154570db7b 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -762,7 +762,7 @@ module Homebrew If this is a surprise to you, then you should stash these modifications. Stashing returns Homebrew to a pristine state but can be undone should you later need to do so for some reason. - git -C "#{path}" stash -u && git -C "${path}" clean -d -f + git -C "#{path}" stash -u && git -C "#{path}" clean -d -f EOS modified = status.split("\n")