mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
files2 - polish method names
This commit is contained in:
@@ -215,7 +215,7 @@ export class MainThreadDocuments implements MainThreadDocumentsShape {
|
||||
|
||||
private _handleUntitledScheme(uri: URI): Promise<boolean> {
|
||||
const asFileUri = uri.with({ scheme: Schemas.file });
|
||||
return this._fileService.resolveFile(asFileUri).then(stats => {
|
||||
return this._fileService.resolve(asFileUri).then(stats => {
|
||||
// don't create a new file ontop of an existing file
|
||||
return Promise.reject(new Error('file already exists on disk'));
|
||||
}, err => {
|
||||
|
||||
Reference in New Issue
Block a user