replace void 0 with undefined

This commit is contained in:
Rob Lourens
2018-12-28 13:15:41 -08:00
parent 0d11396538
commit ef2547d547
413 changed files with 1515 additions and 1515 deletions

View File

@@ -129,9 +129,9 @@ suite('ConfigurationEditingService', () => {
function clearWorkspace(): Promise<void> {
return new Promise<void>((c, e) => {
if (parentDir) {
extfs.del(parentDir, os.tmpdir(), () => c(void 0), () => c(void 0));
extfs.del(parentDir, os.tmpdir(), () => c(undefined), () => c(undefined));
} else {
c(void 0);
c(undefined);
}
}).then(() => parentDir = null!);
}