Skip to content

Commit

Permalink
Remove numeric separators
Browse files Browse the repository at this point in the history
  • Loading branch information
qualitymanifest committed Jun 28, 2020
1 parent b48d33a commit f12d265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handle_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const isOptionInvalid = (option, key) =>{
if (key === "port" && isNumInvalid({ num: val, min: 1, max: 65535, isInt: true })) {
return wasInvalid(option, key, "Must be an integer between 1 and 65535");
}
if (key === "sampleRate" && isNumInvalid({ num: val, min: 1, max: 4_300_000_000, isInt: true, })) {
if (key === "sampleRate" && isNumInvalid({ num: val, min: 1, max: 4300000000, isInt: true, })) {
return wasInvalid(option, key, "Must be an integer between 1 and 4300000000");
}
if (key === "channels" && isNumInvalid({ num: val, min: 1, max: 65535, isInt: true })) {
Expand Down

0 comments on commit f12d265

Please sign in to comment.