We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edbb8c5 commit d0b9d41Copy full SHA for d0b9d41
scripts/shebang.mjs
@@ -1,6 +1,6 @@
1
import * as fs from 'node:fs/promises'
2
3
-const [,,filePath] = process.argv
+const [, , filePath] = process.argv
4
const shebang = '#!/usr/bin/env node\n'
5
const contents = await fs.readFile(filePath, 'utf-8')
6
scripts/terse.ts
@@ -23,5 +23,5 @@ const terse = async (path: string) => {
23
}
24
25
// CLI
26
-const [,,path] = process.argv
+const [, , path] = process.argv
27
terse(path)
0 commit comments