File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ async function doBuild({
580580 await Promise . all ( disposables . map ( d => d ( ) ) ) ;
581581 } ;
582582 try {
583- const workspaceFolder = path . resolve ( process . cwd ( ) , workspaceFolderArg ) ;
583+ const workspaceFolder = workspaceFolderArg ? path . resolve ( process . cwd ( ) , workspaceFolderArg ) : process . cwd ( ) ;
584584 const configFile : URI | undefined = configParam ? URI . file ( path . resolve ( process . cwd ( ) , configParam ) ) : undefined ;
585585 const overrideConfigFile : URI | undefined = /* overrideConfig ? URI.file(path.resolve(process.cwd(), overrideConfig)) : */ undefined ;
586586 const addCacheFroms = addCacheFrom ? ( Array . isArray ( addCacheFrom ) ? addCacheFrom as string [ ] : [ addCacheFrom ] ) : [ ] ;
@@ -1151,7 +1151,7 @@ async function outdated({
11511151 } ;
11521152 let output : Log | undefined ;
11531153 try {
1154- const workspaceFolder = path . resolve ( process . cwd ( ) , workspaceFolderArg ) ;
1154+ const workspaceFolder = workspaceFolderArg ? path . resolve ( process . cwd ( ) , workspaceFolderArg ) : process . cwd ( ) ;
11551155 const configFile = configParam ? URI . file ( path . resolve ( process . cwd ( ) , configParam ) ) : undefined ;
11561156 const cliHost = await getCLIHost ( workspaceFolder , loadNativeModule , logFormat === 'text' ) ;
11571157 const extensionPath = path . join ( __dirname , '..' , '..' ) ;
You can’t perform that action at this time.
0 commit comments