forgehive 1.0.0 → 1.0.1
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/dist/cli.js +4 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8460,6 +8460,10 @@ if (command === "init") {
|
|
|
8460
8460
|
console.error(" Installation: https://git-scm.com");
|
|
8461
8461
|
process.exit(1);
|
|
8462
8462
|
}
|
|
8463
|
+
if (subcommand === "--update" || rest.includes("--update")) {
|
|
8464
|
+
console.log(`Meintest du: fh scan --update`);
|
|
8465
|
+
process.exit(1);
|
|
8466
|
+
}
|
|
8463
8467
|
const forgehiveDirExists = fs39.existsSync(forgehiveDir);
|
|
8464
8468
|
if (forgehiveDirExists && subcommand !== "--force" && !rest.includes("--force")) {
|
|
8465
8469
|
console.log(`\u26A0 .forgehive/ existiert bereits in diesem Projekt.`);
|