Skip to content

Commit

Permalink
fix(npx): newline needed for npx to work
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jul 22, 2024
1 parent c3a2259 commit f6908c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node
import { randomWords } from './index.js'

process.stdout.write(randomWords().join(' '))
console.log(randomWords().join(' '))

0 comments on commit f6908c6

Please sign in to comment.