lib/aruba/api/core.rb in aruba-0.13.0 vs lib/aruba/api/core.rb in aruba-0.14.0

- old
+ new

@@ -55,10 +55,10 @@ aruba.current_directory << dir new_directory = expand_path('.') aruba.event_bus.notify Events::ChangedWorkingDirectory.new(:old => old_directory, :new => new_directory) - old_dir = Aruba.platform.getwd + old_dir = Aruba.platform.getwd Aruba.platform.chdir File.join(aruba.root_directory, aruba.current_directory) result = Aruba.platform.with_environment( 'OLDPWD' => old_dir,