Skip to content

Commit c184307

Browse files
CopilotMicroFish91
andcommitted
Revert unwanted changes to package-lock.json, main.js, and gulpfile.ts
Co-authored-by: MicroFish91 <40250218+MicroFish91@users.noreply.github.com>
1 parent 1ca65d5 commit c184307

File tree

3 files changed

+6
-23
lines changed

3 files changed

+6
-23
lines changed

gulpfile.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { gulp_webpack } from '@microsoft/vscode-azext-dev';
7+
import * as child_process from 'child_process';
78
import * as fse from 'fs-extra';
89
import * as gulp from 'gulp';
910
import * as path from 'path';
@@ -27,11 +28,10 @@ async function cleanReadme(): Promise<void> {
2728
}
2829

2930
async function installSwcCore(): Promise<void> {
30-
// NOTE: Commented out automatic installation per user request in PR comment
31-
// Original comment: "Our pipelies run on Linux so we need to install the correct @swc/core package for te pipelines to pass."
32-
// if (process.platform === 'linux') {
33-
// child_process.execSync('npm install @swc/core-linux-x64-gnu --save-dev')
34-
// }
31+
// Our pipelies run on Linux so we need to install the correct @swc/core package for te pipelines to pass.
32+
if (process.platform === 'linux') {
33+
child_process.execSync('npm install @swc/core-linux-x64-gnu --save-dev')
34+
}
3535
}
3636

3737
exports['webpack-dev'] = gulp.series(prepareForWebpack, () => gulp_webpack('development'));

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let perfStats = {
1616

1717
Object.defineProperty(exports, "__esModule", { value: true });
1818

19-
const extension = require('./dist/extension.bundle');
19+
const extension = require('./out/src/extension');
2020

2121
async function activate(ctx) {
2222
return await extension.activate(ctx, perfStats, true /*ignoreBundle*/);

package-lock.json

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)