We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c9d074 commit d804282Copy full SHA for d804282
bin/mindee.rb
@@ -99,7 +99,7 @@ def custom_subcommand(cli_parser, options)
99
end
100
101
if options[:cut_pages].nil? || !options[:cut_pages].is_a?(Integer) || options[:cut_pages] < 0
102
- page_options = options[:cut_pages].nil?
+ page_options = nil
103
else
104
page_options = Mindee::PageOptions.new(params: {
105
page_indexes: (0..options[:cut_pages].to_i).to_a,
0 commit comments