We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repro:
Run lsof -i -P and pick a port that is running where no substring of the port is running, e.g.
lsof -i -P
Google 62775 andrew 89u IPv4 ... TCP 192.168.0.0:49302->...:443 (ESTABLISHED) # no port 9302
Then run kill-port 9302, it prints:
kill-port 9302
$ npx kill-port 9302 Process on port 9302 killed
This is because the regex is incorrect:
https://github.com/tiaanduplessis/kill-port/blob/master/index.js#L39
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Repro:
Run
lsof -i -P
and pick a port that is running where no substring of the port is running, e.g.Then run
kill-port 9302
, it prints:This is because the regex is incorrect:
https://github.com/tiaanduplessis/kill-port/blob/master/index.js#L39
The text was updated successfully, but these errors were encountered: