Update package-lock and fix new linter errors. (#2412)
Update package-lock and fix new linter errors.
This commit is contained in:
Generated
+751
-751
File diff suppressed because it is too large
Load Diff
@@ -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?)');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user