Skip to content

Commit

Permalink
Merge pull request #109 from neuschaefer/ranges
Browse files Browse the repository at this point in the history
Don't emit empty '--ranges' option
  • Loading branch information
kisvegabor authored Apr 2, 2024
2 parents 500e4bb + 472e4ae commit a600c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function generate_opts_string(args) {
if (symbols) {
opts.push('--symbols', symbols);
}
if (ranges) {
if (ranges.length !== 0) {
opts.push('--range', ranges.join(','));
}
}
Expand Down

0 comments on commit a600c69

Please sign in to comment.