Skip to content

Commit 3f27c38

Browse files
committed
Readd process.exit
1 parent c5ce694 commit 3f27c38

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

plugin/init_npm.js

+9
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ if(canProceed() && !fs.existsSync(npmContainerDir)) {
2929

3030
// add new container as a package
3131
echo.sync("\nnpm-container", ">>", ".meteor/packages");
32+
33+
console.log();
34+
console.log("-> npm support has been initialized.")
35+
console.log("-> please start your app again.");
36+
console.log();
37+
// if there is no npm-container when running `meteor`
38+
// we need to kill the current running process, otherwise
39+
// dependencies in the packages.json won't get added
40+
process.exit(0);
3241
}
3342

3443
// check whether is this `meteor test-packages` or not

versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
{}
2020
]
2121
],
22-
"toolVersion": "[email protected].35",
22+
"toolVersion": "[email protected].36",
2323
"format": "1.0"
2424
}

0 commit comments

Comments
 (0)