fix(lib/vscode): add getAppRoot to VariableResolverService

Not sure if it's used because it can return undefined, but it's
there now!
This commit is contained in:
Joe Previte 2021-03-11 15:54:25 -07:00
parent dc08bc68c6
commit 34189e4d49
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
2 changed files with 8 additions and 1 deletions

View File

@ -350,6 +350,13 @@ class VariableResolverService extends AbstractVariableResolverService {
getConfigurationValue: (_: URI, section: string): string | undefined => {
return args.resolvedVariables[`config:${section}`];
},
getAppRoot: (): string | undefined => {
/*
NOTE@coder: not sure where we could get this from. This is new.
@jsjoeio 3/11/21
*/
return undefined
},
getExecPath: (): string | undefined => {
// Assuming that resolverEnv is just for use in the resolver and not for
// the terminal itself.

View File

@ -7,7 +7,7 @@ import { Emitter } from 'vs/base/common/event';
import { Schemas } from 'vs/base/common/network';
import { URI } from 'vs/base/common/uri';
import { getMachineId } from 'vs/base/node/id';
import { ClientConnectionEvent, IPCServer, IServerChannel, ProxyChannel, StaticRouter } from 'vs/base/parts/ipc/common/ipc';
import { ClientConnectionEvent, IPCServer, IServerChannel, ProxyChannel } from 'vs/base/parts/ipc/common/ipc';
import { LogsDataCleaner } from 'vs/code/electron-browser/sharedProcess/contrib/logsDataCleaner';
import { main } from 'vs/code/node/cliProcessMain';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';