Skip to content

Commit d804282

Browse files
committed
🐛 fix bad option in CLI
1 parent 8c9d074 commit d804282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/mindee.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def custom_subcommand(cli_parser, options)
9999
end
100100

101101
if options[:cut_pages].nil? || !options[:cut_pages].is_a?(Integer) || options[:cut_pages] < 0
102-
page_options = options[:cut_pages].nil?
102+
page_options = nil
103103
else
104104
page_options = Mindee::PageOptions.new(params: {
105105
page_indexes: (0..options[:cut_pages].to_i).to_a,

0 commit comments

Comments
 (0)