Commit 1289909
authored
fix(cli): bundle resolver uses /HEAD/ instead of /main/ (JavaScriptSolidServer#487)
GitHub's raw URLs resolve /HEAD/ to the repo's default branch
automatically. Works for both gh-pages-default repos (solid-apps
convention) and main-default repos (everyone else's GitHub
default). Better than picking one branch name.
Smoke: `jss install --bundle starter` against
solid-apps/bundles (default branch gh-pages) → 4/4 installed
end-to-end.1 parent 99d8bcb commit 1289909
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments