config-editing, api-test use strictNull-checks, #6907

This commit is contained in:
Johannes Rieken
2016-11-23 12:09:59 +01:00
parent 07464cb11d
commit 7b12aeb422
9 changed files with 40 additions and 35 deletions

View File

@@ -62,7 +62,7 @@ export function cleanUp(): Thenable<any> {
}
});
vscode.commands.executeCommand('workbench.action.closeAllEditors').then(null, reject);
vscode.commands.executeCommand('workbench.action.closeAllEditors').then(undefined, reject);
}).then(() => {
assert.equal(vscode.window.visibleTextEditors.length, 0);
@@ -76,4 +76,4 @@ export function cleanUp(): Thenable<any> {
// assert.equal(vscode.workspace.textDocuments.length, 0);
});
}
}