Commit dd41903
Match last "got" in stderr to avoid false positives
Due to the changes introduced in #349 the hash regex matches the output
of pnpm when downloading the https://www.npmjs.com/package/got library.
This causes the tool to incorrectly update the hash to the "got"
version. To fix this the loop now starts searching from the last line,
since the nix hash mismatch message is usually printed last.
Signed-off-by: Marcin Serwin <[email protected]>1 parent af520c7 commit dd41903
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments