提交 095ec774 编写于 作者: B Benjamin Pasero

storage - tpromise => thenable

上级 0ee0b706
......@@ -228,7 +228,7 @@ export class WorkspaceEditingService implements IWorkspaceEditingService {
});
}
private migrate(toWorkspace: IWorkspaceIdentifier): TPromise<void> {
private migrate(toWorkspace: IWorkspaceIdentifier): Thenable<void> {
// Storage migration
return this.migrateStorage(toWorkspace).then(() => {
......@@ -242,7 +242,7 @@ export class WorkspaceEditingService implements IWorkspaceEditingService {
});
}
private migrateStorage(toWorkspace: IWorkspaceIdentifier): TPromise<void> {
private migrateStorage(toWorkspace: IWorkspaceIdentifier): Thenable<void> {
const newWorkspaceStorageHome = join(this.environmentService.workspaceStorageHome, toWorkspace.id);
return mkdirp(newWorkspaceStorageHome).then(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册