We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698d1e4 commit 0b8cdacCopy full SHA for 0b8cdac
Extension/src/main.ts
@@ -434,7 +434,7 @@ function checkDistro(channel: vscode.OutputChannel, platformInfo: PlatformInform
434
}
435
436
437
-function rewriteManifest(installBlob: InstallBlob): void {
+function rewriteManifest(installBlob: InstallBlob): Promise<void> {
438
installBlob.stage = "rewriteManifest";
439
440
// Replace activationEvents with the events that the extension should be activated for subsequent sessions.
@@ -459,4 +459,6 @@ function rewriteManifest(installBlob: InstallBlob): void {
459
"onCommand:C_Cpp.TakeSurvey",
460
"onDebug"
461
];
462
+
463
+ return util.writeFileText(util.getPackageJsonPath(), util.getPackageJsonString());
464
0 commit comments