@codingame/monaco-vscode-files-service-override 7.0.9 → 7.0.10
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 -1
- package/package.json +2 -2
package/files.js
CHANGED
|
@@ -774,9 +774,12 @@ async function initFile(file, content, options) {
|
|
|
774
774
|
return;
|
|
775
775
|
}
|
|
776
776
|
catch (error) {
|
|
777
|
+
if (!(error instanceof FileSystemProviderError) || error.code !== FileSystemProviderErrorCode.FileNotFound) {
|
|
778
|
+
console.error('Unable to check if file exists', error);
|
|
779
|
+
}
|
|
777
780
|
}
|
|
778
781
|
}
|
|
779
|
-
await provider.writeFile(file,
|
|
782
|
+
await provider.writeFile(file, encode(content), {
|
|
780
783
|
atomic: false,
|
|
781
784
|
create: true,
|
|
782
785
|
overwrite: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-files-service-override",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.10",
|
|
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@7.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@7.0.10"
|
|
30
30
|
}
|
|
31
31
|
}
|