Permalink
Browse files

- I forgot a cardinal rule! Never use 'or' in ruby.

  • Loading branch information...
1 parent 5f000ae commit f478ca8db32e84a64f6db8b4782c844ec06979aa @jordansissel committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fpm/command.rb
View
@@ -487,7 +487,7 @@ def validate
mandatory(@command.input_type == "dir", "--inputs is only valid with -s dir")
end
- mandatory(@command.args.any? or @command.inputs,
+ mandatory(@command.args.any? || @command.inputs,
"No parameters given. You need to pass additional command " \
"arguments so that I know what you want to build packages " \
"from. For example, for '-s dir' you would pass a list of " \

0 comments on commit f478ca8

Please sign in to comment.