Add pre-install npm dependency guard
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import { main } from "../lib/cli.js";
|
||||
|
||||
main().catch((error) => {
|
||||
console.error(`dependency-guard: ${error.message}`);
|
||||
process.exitCode = 2;
|
||||
});
|
||||
Reference in New Issue
Block a user