Skip to content

Commit d0b9d41

Browse files
committed
Format scripts
1 parent edbb8c5 commit d0b9d41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/shebang.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as fs from 'node:fs/promises'
22

3-
const [,,filePath] = process.argv
3+
const [, , filePath] = process.argv
44
const shebang = '#!/usr/bin/env node\n'
55
const contents = await fs.readFile(filePath, 'utf-8')
66

scripts/terse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ const terse = async (path: string) => {
2323
}
2424

2525
// CLI
26-
const [,,path] = process.argv
26+
const [, , path] = process.argv
2727
terse(path)

0 commit comments

Comments
 (0)