Skip to content

Commit

Permalink
Don't emit empty '--ranges' option
Browse files Browse the repository at this point in the history
Fixes: lvgl#107
  • Loading branch information
neuschaefer committed Mar 29, 2024
1 parent db66b90 commit 452c514
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 452c514

Please sign in to comment.