mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 05:51:32 +01:00
debt - loadOrCreate => resolve
This commit is contained in:
@@ -216,7 +216,7 @@ export class MainThreadDocuments implements MainThreadDocumentsShape {
|
||||
}
|
||||
|
||||
private _doCreateUntitled(resource?: URI, mode?: string, initialValue?: string): Promise<URI> {
|
||||
return this._textFileService.untitled.loadOrCreate({
|
||||
return this._textFileService.untitled.resolve({
|
||||
resource,
|
||||
mode,
|
||||
initialValue,
|
||||
|
||||
Reference in New Issue
Block a user