diff options
-rwxr-xr-x | bin/tapicero | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tapicero b/bin/tapicero index 49e73c2..658dace 100755 --- a/bin/tapicero +++ b/bin/tapicero @@ -51,7 +51,7 @@ Tapicero::CONFIGS.concat ARGV.grep(/\.ya?ml$/) # if flags have been set but an action is missing we assume # tapicero should run in foreground. -if ARGV.first.start_with?('--') +if ARGV.first && ARGV.first.start_with?('--') ARGV.unshift '--' ARGV.unshift 'run' end |