add shebang

This commit is contained in:
Celogeek 2022-05-11 14:19:42 +02:00
parent f1039c8c92
commit 117ba1cfa7
Signed by: celogeek
GPG Key ID: E6B7BDCFC446233A
3 changed files with 13 additions and 9 deletions

1
index.js Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env node
const fs = require('fs'); const fs = require('fs');
const split = require('split'); const split = require('split');

View File

@ -10,6 +10,9 @@
"type": "git", "type": "git",
"url": "https://git.celogeek.com/celogeek/yarn-audit-sonar.git" "url": "https://git.celogeek.com/celogeek/yarn-audit-sonar.git"
}, },
"bin": {
"yarn-audit-sonar": "index.js"
},
"author": "Celogeek", "author": "Celogeek",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {

View File

@ -2,14 +2,14 @@
# yarn lockfile v1 # yarn lockfile v1
split@^1.0.1: "split@^1.0.1":
version "1.0.1" "integrity" "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg=="
resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" "resolved" "https://registry.npmjs.org/split/-/split-1.0.1.tgz"
integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== "version" "1.0.1"
dependencies: dependencies:
through "2" "through" "2"
through@2: "through@2":
version "2.3.8" "integrity" "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" "resolved" "https://registry.npmjs.org/through/-/through-2.3.8.tgz"
integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= "version" "2.3.8"