fix: use relative path in vscode build task #8134
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The VS Code task:
vscode-extension:continue-ui:build
is failing on Windows due to incorrect path resolution when combining absolute paths with thecwd
option.Here is the error:
The path is duplicated and concatenated incorrectly, which thus causing this error. Windows path resolution attempts to combine the absolute path with the cwd, resulting in a malformed path. This blocks development on a Windows machine. This affects only windows users though the fix improves cross-platform consistency.
AI Code Review
@continue-review
Checklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
After this fix:
Summary by cubic
Fixed the VS Code build task on Windows by switching to a relative script path. This prevents malformed paths when combined with cwd and improves cross-platform consistency.