Commit 8a686d2
committed
Fix: Resolve semver range to concrete version before CLI install/update
The CLI's installFramework and updateFramework expect a specific version
tag, not a semver range. Passing targetVersionRange directly caused a 404
when the CLI tried to download a GitHub archive using the range as a
branch name. Now resolves the range via getLatestVersion() first.
Also fixes typo: getLatestFrameworkVersion param should be versionLimit
not version (refs adaptlearning/adapt-cli#241).1 parent 32433eb commit 8a686d2
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
179 | | - | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
213 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
214 | 220 | | |
215 | 221 | | |
216 | 222 | | |
| |||
0 commit comments