Commit af55231
committed
fix: preserve user-requested platform as fallback in formatProjectCreated
The old code used `project.platform || platform` where `platform` was
the user's CLI argument. The migration lost this fallback by hardcoding
"unknown". Add `requestedPlatform` field to `ProjectCreatedResult` and
use it as fallback when the API response has no platform set.1 parent 1799ac2 commit af55231
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| 411 | + | |
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1246 | 1246 | | |
1247 | 1247 | | |
1248 | 1248 | | |
| 1249 | + | |
| 1250 | + | |
1249 | 1251 | | |
1250 | 1252 | | |
1251 | 1253 | | |
| |||
1299 | 1301 | | |
1300 | 1302 | | |
1301 | 1303 | | |
1302 | | - | |
| 1304 | + | |
1303 | 1305 | | |
1304 | 1306 | | |
1305 | 1307 | | |
| |||
0 commit comments