Skip to content

Commit

Permalink
fix: remove shebang line from index.ts (#44)
Browse files Browse the repository at this point in the history
## Overview

It's OK for `index.ts`, but not for `index.js`. `"bin"` in
`package.json` is set to `lib/index.js`, and `ts-node` is not installed
with the npm package since it's a `devDependency`.

Fixes #41
  • Loading branch information
danvk authored Feb 3, 2024
1 parent 067092a commit 057d646
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env node --loader ts-node/esm --no-warnings

// eslint-disable-next-line n/shebang
import { main } from "./main.js";

await main();

0 comments on commit 057d646

Please sign in to comment.