File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/vs/workbench/contrib/tasks/browser Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1084,7 +1084,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
1084
1084
let windowsShellArgs : boolean = false ;
1085
1085
if ( platform === Platform . Platform . Windows ) {
1086
1086
windowsShellArgs = true ;
1087
- let basename = path . posix . basename ( URI . file ( shellLaunchConfig . executable ! ) . path ) . toLowerCase ( ) ;
1087
+ let basename = path . posix . basename ( ( await this . pathService . fileURI ( shellLaunchConfig . executable ! ) ) . path ) . toLowerCase ( ) ;
1088
1088
// If we don't have a cwd, then the terminal uses the home dir.
1089
1089
const userHome = await this . pathService . userHome ( ) ;
1090
1090
if ( basename === 'cmd.exe' && ( ( options . cwd && isUNC ( options . cwd ) ) || ( ! options . cwd && isUNC ( userHome . fsPath ) ) ) ) {
You can’t perform that action at this time.
0 commit comments