fix(workflow): quote path variables in workspace next-step examples (#2096)
Display examples showing 'cd $TARGET_PATH' and 'cd $WORKSPACE_PATH/repo1' were unquoted, causing path splitting when project paths contain spaces (e.g. Windows paths like C:\Users\First Last\...). Quote all path variable references in user-facing guidance blocks so the examples shown to users are safe to copy-paste directly. The actual bash execution blocks (git worktree add, rm -rf, etc.) were already correctly quoted — this fixes only the display examples. Fixes #2088 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -43,7 +43,7 @@ Cannot remove workspace "$WORKSPACE_NAME" — the following repos have uncommitt
|
||||
- repo2
|
||||
|
||||
Commit or stash changes in these repos before removing the workspace:
|
||||
cd $WORKSPACE_PATH/repo1
|
||||
cd "$WORKSPACE_PATH/repo1"
|
||||
git stash # or git commit
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user