| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 243652a commit a2aa2f7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -367,9 +367,7 @@ | |||
| 367 | 367 | } | |
| 368 | 368 | ||
| 369 | 369 | function isDebugBreak() { | |
| 370 | - return process.execArgv.some((arg) => { | ||
| 371 | - return arg.match(/^--debug-brk(=[0-9]*)?$/); | ||
| 372 | - }); | ||
| 370 | + return process.execArgv.some((arg) => /^--debug-brk(=[0-9]+)?$/.test(arg)); | ||
| 373 | 371 | } | |
| 374 | 372 | ||
| 375 | 373 | function run(entryFunction) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments