Commit cdf4c68
committed
fix(dashboard): throw if config path normalizes to empty in workflow yaml
Inputs like "./" pass the upstream non-empty trim check but normalize to
"" inside buildWorkflowYaml, which would emit `paths: [""]` and an empty
STACK_AUTH_CONFIG_PATH env var. Fail fast at the boundary instead of
committing a silently broken workflow to the user's repo.1 parent 08bbba5 commit cdf4c68
1 file changed
Lines changed: 5 additions & 1 deletion
File tree
- apps/dashboard/src/app/(main)/(protected)/(outside-dashboard)/new-project/page-client-parts
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments