@codingame/monaco-vscode-api 1.83.3-next.0 → 1.83.4
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/extensions.js +1 -1
- package/monaco-editor-treemending.patch +1464 -1464
- package/monaco-treemending.js +2 -2
- package/package.json +1 -1
package/monaco-treemending.js
CHANGED
|
@@ -881,8 +881,8 @@ async function run() {
|
|
|
881
881
|
return;
|
|
882
882
|
}
|
|
883
883
|
try {
|
|
884
|
-
if (index.newHeader
|
|
885
|
-
// timestamp 0 means the
|
|
884
|
+
if (index.newHeader != null && Date.parse(index.newHeader) === 0) {
|
|
885
|
+
// timestamp 0 means the field was removed
|
|
886
886
|
await fs.unlink(file);
|
|
887
887
|
}
|
|
888
888
|
else {
|