Commit c6ca713
Nissan Pow
fix: split resume bash expansions so empty steps-to-rerun doesn't break CLI
When METAFLOW_RESUME_STEPS_TO_RERUN is empty, the single ${VAR:+...}
expansion produced '--resume-steps-to-rerun' with no value, causing
Click to exit with code 2. Split into two separate expansions so
--resume-steps-to-rerun only appears when the value is non-empty.1 parent 35a3ba7 commit c6ca713
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
1075 | | - | |
| 1075 | + | |
| 1076 | + | |
1076 | 1077 | | |
1077 | 1078 | | |
1078 | 1079 | | |
| |||
0 commit comments