mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
Merge pull request #276267 from microsoft/tyriar/274723_externalTerminal
Remove any from platform/externalTerminal
This commit is contained in:
@@ -515,7 +515,6 @@ export default tseslint.config(
|
||||
'src/vs/platform/extensions/common/extensionValidator.ts',
|
||||
'src/vs/platform/extensions/common/extensions.ts',
|
||||
'src/vs/platform/extensions/electron-main/extensionHostStarter.ts',
|
||||
'src/vs/platform/externalTerminal/node/externalTerminalService.ts',
|
||||
'src/vs/platform/instantiation/common/descriptors.ts',
|
||||
'src/vs/platform/instantiation/common/extensions.ts',
|
||||
'src/vs/platform/instantiation/common/instantiation.ts',
|
||||
|
||||
@@ -89,7 +89,7 @@ export class WindowsExternalTerminalService extends ExternalTerminalService impl
|
||||
// delete environment variables that have a null value
|
||||
Object.keys(env).filter(v => env[v] === null).forEach(key => delete env[key]);
|
||||
|
||||
const options: any = {
|
||||
const options = {
|
||||
cwd: dir,
|
||||
env: env,
|
||||
windowsVerbatimArguments: true
|
||||
@@ -267,7 +267,7 @@ export class LinuxExternalTerminalService extends ExternalTerminalService implem
|
||||
// delete environment variables that have a null value
|
||||
Object.keys(env).filter(v => env[v] === null).forEach(key => delete env[key]);
|
||||
|
||||
const options: any = {
|
||||
const options = {
|
||||
cwd: dir,
|
||||
env: env
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user