diff options
Diffstat (limited to 'lib/fileutils.rb')
-rw-r--r-- | lib/fileutils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 320c49ce9..af36bbc73 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -118,7 +118,7 @@ module FileUtils def cd(dir, options = {}, &block) # :yield: dir fu_check_options options, :verbose fu_output_message "cd #{dir}" if options[:verbose] - Dir.chdir(dir, &block) unless options[:noop] + Dir.chdir(dir, &block) fu_output_message 'cd -' if options[:verbose] and block end module_function :cd |