Skip to content

Commit 5177ad5

Browse files
committed
fix: Use bunx eslint and fix log-file arg in main.ts
1 parent 97c2da4 commit 5177ad5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"pre-commit": "bunx lint-staged"
3636
},
3737
"lint-staged": {
38-
"*": "eslint --fix"
38+
"*": "bunx eslint --fix"
3939
},
4040
"dependencies": {
4141
"citty": "^0.1.6",

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const main = defineCommand({
2323
default: false,
2424
description: "Enable verbose logging",
2525
},
26-
logFile: {
26+
"log-file": {
2727
type: "string",
2828
description: "File to log request/response details",
2929
},
@@ -37,7 +37,7 @@ const main = defineCommand({
3737
const portInt = parseInt(args.port, 10)
3838

3939
const port = await initializePort(portInt)
40-
await logger.initialize(args.logFile)
40+
await logger.initialize(args["log-file"])
4141

4242
await initializeApp()
4343

0 commit comments

Comments
 (0)