Commit d91ba58
committed
fix(hooks): strip github: prefix from repository in update.mts
The repository values in external-tools.json include a github: prefix
(e.g. "github:zizmorcore/zizmor") which was already stripped in
index.mts but not in update.mts. This produced broken GitHub API calls
and download URLs like "repos/github:zizmorcore/zizmor/releases/latest".1 parent 1bc54fb commit d91ba58
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
0 commit comments