| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ const parse = (str) => { | |||
| 38 | 38 | let prevIndex = 0; | |
| 39 | 39 | let match; | |
| 40 | 40 | const entries = []; | |
| 41 | - while (match = RegExpPrototypeExec(kSRIPattern, str)) { | ||
| 41 | + while ((match = RegExpPrototypeExec(kSRIPattern, str)) !== null) { | ||
| 42 | 42 | if (match.index !== prevIndex) { | |
| 43 | 43 | throw new ERR_SRI_PARSE(str, str[prevIndex], prevIndex); | |
| 44 | 44 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments