silencing warnings from reloading files after edit-method command finishes

This commit is contained in:
John Mair 2011-05-05 00:56:32 +12:00
parent 218c916b90
commit 5c964f0ed6
1 changed files with 3 additions and 1 deletions

View File

@ -157,7 +157,9 @@ e.g: edit-method hello_method
end
run ".#{editor_invocation}"
load file if !opts["no-reload"]
silence_warnings do
load file if !opts["no-reload"]
end
end
end