Skip to content

Commit

Permalink
chore: add release pipeline to publish to npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
vaidik committed Jan 25, 2024
1 parent 0b6c0e5 commit 21e1d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/shebangify.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
import fs from 'fs';

Check failure on line 2 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

This file needs no shebang

Check failure on line 2 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

This file needs no shebang
var path = process.argv[2];
var data = "#!/usr/bin/env node\n\n";
const path = process.argv[2];
let data = "#!/usr/bin/env node\n\n";

Check failure on line 4 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Replace `"#!/usr/bin/env·node\n\n"` with `'#!/usr/bin/env·node\n\n'`

Check warning on line 4 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote

Check failure on line 4 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Replace `"#!/usr/bin/env·node\n\n"` with `'#!/usr/bin/env·node\n\n'`

Check warning on line 4 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Strings must use singlequote
data += fs.readFileSync(path);
fs.writeFileSync(path, data);

Check failure on line 6 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 6 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Newline required at end of file but not found

Check failure on line 6 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 6 in scripts/shebangify.js

View workflow job for this annotation

GitHub Actions / lint

Newline required at end of file but not found

0 comments on commit 21e1d30

Please sign in to comment.