Adding more explicit returns

This commit is contained in:
Matt Bierner
2017-02-01 17:29:57 -08:00
parent 2a82bcdc57
commit c342eaa22e
65 changed files with 124 additions and 55 deletions

View File

@@ -123,6 +123,7 @@ class ExtensionStoragePath {
if (this._value) {
return paths.join(this._value, extension.id);
}
return undefined;
}
private _getOrCreateWorkspaceStoragePath(): TPromise<string> {
@@ -311,6 +312,7 @@ export class ExtHostExtensionService extends AbstractExtensionService<ExtHostExt
if (errors[1]) {
return TPromise.wrapError(errors[1]);
}
return undefined;
});
});
}