Skip to content

Commit 523e8c9

Browse files
authored
Fixing misisng compile step before executing .js file (#1618)
1 parent 6ad4814 commit 523e8c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Extension/src/Support/prepublish.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ if (!process.env.CPPTOOLS_DEV && fs.existsSync('./node_modules')) {
1616
} else {
1717
console.log(">> npm install");
1818
cp.execSync("npm install", {stdio:[0, 1, 2]});
19-
console.log(">> tsc -p ./");
20-
cp.execSync("tsc -p ./", {stdio:[0, 1, 2]});
2119
}
20+
21+
console.log(">> tsc -p ./");
22+
cp.execSync("tsc -p ./", {stdio:[0, 1, 2]});
2223
// Required for nightly builds. Nightly builds do not enable CPPTOOLS_DEV.
2324
console.log(">> node ./out/src/Support/copyDebuggerDependencies.js");
2425
cp.execSync("node ./out/src/Support/copyDebuggerDependencies.js", {stdio:[0, 1, 2]});

0 commit comments

Comments
 (0)