-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CLI): Update path handling in CLI command (#26999)
* #26985 Update path handling in CLI command The code has been updated to more robustly handle file paths in CLI commands. It now ensures that paths are within a workspace or throws an error if not, while also checking if files exist and can be read. This update improves error handling and makes the command usage clearer for the user. * #26985 Refactor workspace and path validation in FilesPush. * #26985 Adding more integration tests to cover the changes.
- Loading branch information
1 parent
ba01ad9
commit b0411cb
Showing
4 changed files
with
136 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters