Skip to content

Commit

Permalink
rebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Nov 6, 2022
1 parent b4ad9d7 commit a9f8809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/srvd.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if (require.main === module) {
const str = args.join(" ");

let wait = Array.prototype.slice.call(str.match(/-?-wait(?:=|== )(inf(inity)?|\d+)/i) || [], 1)[0];
if (wait.startsWith("inf")) wait = Infinity;
if (wait?.startsWith("inf")) wait = Infinity;

serve({
debug: !!str.match(/-?-debug((=|== )(true|True|TRUE))?/),
Expand Down

0 comments on commit a9f8809

Please sign in to comment.