mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
replace void 0 with undefined
This commit is contained in:
@@ -604,7 +604,7 @@ export class ExtHostTextEditor implements vscode.TextEditor {
|
||||
}
|
||||
|
||||
function warnOnError(promise: Promise<any>): void {
|
||||
promise.then(void 0, (err) => {
|
||||
promise.then(undefined, (err) => {
|
||||
console.warn(err);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user