mirror of
https://github.com/vitalygashkov/crextractor.git
synced 2026-07-15 17:40:03 +02:00
fix: add cli shebang, improve cjs compatibility, exit if target source not found
This commit is contained in:
Regular → Executable
+4
-4
@@ -1,5 +1,5 @@
|
||||
import { extractSecrets } from './crunchys';
|
||||
#!/usr/bin/env node
|
||||
|
||||
(async () => {
|
||||
await extractSecrets();
|
||||
})();
|
||||
const { extractSecrets } = require('./crunchys');
|
||||
|
||||
extractSecrets();
|
||||
|
||||
Reference in New Issue
Block a user