Skip to content

Conversation

jordansissel
Copy link
Owner

… a directory.

Fixes #1938

@jordansissel
Copy link
Owner Author

% bundle exec rspec -fd spec/fpm/command_spec.rb -e 'workdir'
Run options: include {:full_description=>/workdir/}

FPM::Command
  --workdir
    with an nonexistent path
      should fail aka return nonzero exit
    with a path that is not a directory
      should fail aka return nonzero exit

Finished in 0.0014 seconds (files took 0.14484 seconds to load)
2 examples, 0 failures

@jordansissel jordansissel merged commit 5b104bc into main Nov 14, 2022
@jordansissel
Copy link
Owner Author

fpm 1.15.0 is released and contains this improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fpm crashes with an exception if a given --workdir path doesn't exist
1 participant