Skip to content

Commit

Permalink
Fix 'cd' commands without arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
alem0lars committed Nov 25, 2015
1 parent 53010fc commit 29a3068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fizzy
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,7 @@ module Fizzy
paths = prepare_storage(options.fizzy_dir,
:valid_meta => false,
:valid_inst => false,
:valid_cfg => !options.cfg_name.nil?,
:cur_cfg_name => options.cfg_name)

# Changing directory.
Expand Down Expand Up @@ -1189,6 +1190,7 @@ module Fizzy
# Prepare stuff for changing directory.
paths = prepare_storage(options.fizzy_dir,
:valid_meta => false,
:valid_inst => !options.inst_name.nil?,
:cur_inst_name => options.inst_name)

# Changing directory.
Expand Down

0 comments on commit 29a3068

Please sign in to comment.