Skip to content

Commit

Permalink
fix: fix pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
yibn2008 committed Jan 5, 2025
1 parent 9fff3c1 commit 81e0bc0
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 79 deletions.
3 changes: 2 additions & 1 deletion bin/find-process.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

'use strict'

const program = require('commander')
const { program } = require('commander')
const chalk = require('chalk')
const log = require('loglevel').getLogger('find-process')
const find = require('..')
Expand All @@ -28,6 +28,7 @@ program
console.log(' $ find-process -t port 80 # find by port "80"')
console.log()
})
.showHelpAfterError()
.parse(process.argv)

const opts = program.opts()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"homepage": "https://github.com/yibn2008/find-process#readme",
"dependencies": {
"chalk": "^5.4.1",
"chalk": "~4.1.2",
"commander": "^12.1.0",
"debug": "^4.4.0",
"eslint": "^9.17.0",
Expand Down
Loading

0 comments on commit 81e0bc0

Please sign in to comment.