Merge from vscode a5cf1da01d5db3d2557132be8d30f89c38019f6c (#8525)

* Merge from vscode a5cf1da01d5db3d2557132be8d30f89c38019f6c

* remove files we don't want

* fix hygiene

* update distro

* update distro

* fix hygiene

* fix strict nulls

* distro

* distro

* fix tests

* fix tests

* add another edit

* fix viewlet icon

* fix azure dialog

* fix some padding

* fix more padding issues
This commit is contained in:
Anthony Dresser
2019-12-04 19:28:22 -08:00
committed by GitHub
parent a8818ab0df
commit f5ce7fb2a5
1507 changed files with 42813 additions and 27370 deletions

View File

@@ -356,7 +356,7 @@
"dependencies": {
"linux-release-info": "^2.0.0",
"promisify-child-process": "^3.1.1",
"sudo-prompt": "^9.0.0",
"sudo-prompt": "9.1.1",
"vscode-nls": "^4.0.0",
"yamljs": "^0.3.0"
},

View File

@@ -182,7 +182,7 @@ export class PlatformService implements IPlatformService {
}
}
private sudoExec(command: string, options: sudo.SudoOptions): Promise<CommandOutput> {
private sudoExec(command: string, options: { [key: string]: any }): Promise<CommandOutput> {
return new Promise<CommandOutput>((resolve, reject) => {
sudo.exec(command, options, (error, stdout, stderr) => {
if (error) {

View File

@@ -6,5 +6,4 @@
/// <reference path='../../../../src/vs/vscode.d.ts'/>
/// <reference path='../../../../src/sql/azdata.d.ts'/>
/// <reference path='../../../../src/sql/azdata.proposed.d.ts'/>
/// <reference path='../../../../src/typings/sudo-prompt.d.ts'/>
/// <reference types='@types/node'/>

View File

@@ -643,10 +643,10 @@ strip-ansi@^4.0.0:
dependencies:
ansi-regex "^3.0.0"
sudo-prompt@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/sudo-prompt/-/sudo-prompt-9.0.0.tgz#eebedeee9fcd6f661324e6bb46335e3288e8dc8a"
integrity sha512-kUn5fiOk0nhY2oKD9onIkcNCE4Zt85WTsvOfSmqCplmlEvXCcPOmp1npH5YWuf8Bmyy9wLWkIxx+D+8cThBORQ==
sudo-prompt@9.1.1:
version "9.1.1"
resolved "https://registry.yarnpkg.com/sudo-prompt/-/sudo-prompt-9.1.1.tgz#73853d729770392caec029e2470db9c221754db0"
integrity sha512-es33J1g2HjMpyAhz8lOR+ICmXXAqTuKbuXuUWLhOLew20oN9oUCgCJx615U/v7aioZg7IX5lIh9x34vwneu4pA==
supports-color@4.4.0:
version "4.4.0"