@codingame/monaco-vscode-lifecycle-service-override 1.83.4 → 1.83.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-lifecycle-service-override",
3
- "version": "1.83.4",
3
+ "version": "1.83.6",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.83.4",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.83.6",
22
22
  "monaco-editor": "0.44.0"
23
23
  }
24
24
  }
@@ -31,7 +31,11 @@ let BrowserLifecycleService = class BrowserLifecycleService extends AbstractLife
31
31
  }
32
32
  vetoBeforeUnload(event) {
33
33
  event.preventDefault();
34
- event.returnValue = localizeWithPath('vs/workbench/services/lifecycle/browser/lifecycleService', 'lifecycleVeto', "Changes that you made may not be saved. Please check press 'Cancel' and try again.");
34
+ event.returnValue = ( localizeWithPath(
35
+ 'vs/workbench/services/lifecycle/browser/lifecycleService',
36
+ 'lifecycleVeto',
37
+ "Changes that you made may not be saved. Please check press 'Cancel' and try again."
38
+ ));
35
39
  }
36
40
  withExpectedShutdown(reason, callback) {
37
41
  if (typeof reason === 'number') {