@codingame/monaco-vscode-files-service-override 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/files.js +4 -3
- package/package.json +2 -2
package/files.js
CHANGED
|
@@ -238,10 +238,11 @@ class RegisteredFileSystemProvider extends Disposable {
|
|
|
238
238
|
return Promise.resolve(toWrite.byteLength);
|
|
239
239
|
}
|
|
240
240
|
_lookupRoot(authority) {
|
|
241
|
-
|
|
241
|
+
const _authority = authority.toLowerCase();
|
|
242
|
+
let root = this.rootByAuthority.get(_authority);
|
|
242
243
|
if (root == null) {
|
|
243
244
|
root = new RegisteredDirectory();
|
|
244
|
-
this.rootByAuthority.set(
|
|
245
|
+
this.rootByAuthority.set(_authority, root);
|
|
245
246
|
}
|
|
246
247
|
return root;
|
|
247
248
|
}
|
|
@@ -304,7 +305,7 @@ class RegisteredFileSystemProvider extends Disposable {
|
|
|
304
305
|
}
|
|
305
306
|
const name = parts[parts.length - 1];
|
|
306
307
|
if (directory.getChildren(name) != null) {
|
|
307
|
-
throw new Error(`file '${uri.toString()}' already exists`);
|
|
308
|
+
throw new Error(`file '${extUri.joinPath(uri, name).toString()}/' already exists`);
|
|
308
309
|
}
|
|
309
310
|
const disposableStore = new DisposableStore();
|
|
310
311
|
disposableStore.add(toDisposable(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-files-service-override",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@6.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@6.0.2"
|
|
30
30
|
}
|
|
31
31
|
}
|