Commit e3b5cd1
Check path prefix with
`match` finds in any place of the string, but `indexOf() === 0` ensures it's at the start (the latter is the underlying intent here).
Refs https://github.com/palmerhq/backpack/pull/44/files#r101360579
Refs #42.indexOf() === 0 (#45)1 parent 3f07743 commit e3b5cd1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments