Skip to content

Commit

Permalink
The 'latest' command is broken
Browse files Browse the repository at this point in the history
The ``latest`` command is trying to save the images to a non existing directory.

It is necessary to create the directory structure before start saving the images.
  • Loading branch information
NetoBuenrostro authored Jan 23, 2018
1 parent 7adfb1b commit a2cc00b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wraith/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def latest(config)
within_acceptable_limits do
logger.info Wraith::Validate.new(config).validate("latest")
reset_shots(config)
setup_folders(config)
save_images(config, true)
copy_base_images(config)
crop_images(config)
Expand Down

0 comments on commit a2cc00b

Please sign in to comment.