files2 - polish method names

This commit is contained in:
Benjamin Pasero
2019-03-28 10:06:14 +01:00
parent 7081def4a0
commit f4eae9a5f4
44 changed files with 256 additions and 256 deletions

View File

@@ -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 => {