-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix path failure preventing trace from opening
When doing some testing on an internal extension relying, I noticed that we could no longer use the Open With TraceViewer command on Windows due to an invalid path failing (worked on Linux). I was able to trace the cause of this it to some code that uses .path instead of .fsPath, which is intended for use with the filesystem and scrubs out improper path values (which is what caused our error!). I also changed some other path calculations to be less error prone across platforms by using the path API. This fixes a critical issue which prevents users from opening traces in some cases. Signed-off-by: Dylan Leclair <[email protected]> QVSC-760: fix basename calculation
- Loading branch information
1 parent
b2c8f77
commit 32f2b75
Showing
2 changed files
with
11 additions
and
10 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