aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-07-04 16:09:24 +0100
committerGitHub2016-07-04 16:09:24 +0100
commit883b201c0906ad2942ec900290568836b5ddc240 (patch)
tree2ed58d3ae92d5d6cd773ea7c95095ad55645c801 /Library/Homebrew/utils.rb
parent252c701c59227c385ef6178fe99523cca8c843bb (diff)
downloadbrew-883b201c0906ad2942ec900290568836b5ddc240.tar.bz2
utils: output what files `edit` is opening. (#444)
Since we've moved all formulae to taps it's not necessarily obvious what the path for the files are otherwise.
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index ef7776bca..d82093e4b 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -431,6 +431,7 @@ def which_editor
end
def exec_editor(*args)
+ puts "Editing #{args.join "\n"}"
safe_exec(which_editor, *args)
end