mirror of https://git.tuxpa.in/a/code-server.git
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:
parent
dc08bc68c6
commit
34189e4d49
|
@ -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.
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue