Update package-lock and fix new linter errors. (#2412)

Update package-lock and fix new linter errors.
This commit is contained in:
Sean McManus
2018-08-16 09:59:18 -07:00
committed by GitHub
parent 906fd2d8f0
commit 60b20dce8d
3 changed files with 753 additions and 753 deletions
+751 -751
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -516,7 +516,7 @@ class DefaultClient implements Client {
return provider.provideConfigurations([document.uri], tokenSource.token);
}
}
} catch {
} catch (err) {
}
return Promise.reject("");
};
@@ -638,7 +638,7 @@ export class CppProperties {
if (dirty) {
try {
fs.writeFileSync(this.propertiesFile.fsPath, JSON.stringify(this.configurationJson, null, 4));
} catch {
} catch (err) {
// Ignore write errors, the file may be under source control. Updated settings will only be modified in memory.
vscode.window.showWarningMessage('Attempt to update "' + this.propertiesFile.fsPath + '" failed (do you have write access?)');
}