Skip to content

Commit 16784ed

Browse files
author
Samantha Chalker
committed
fix yargs error and upgrade dependencies
1 parent 9a09b5d commit 16784ed

File tree

4 files changed

+1111
-9574
lines changed

4 files changed

+1111
-9574
lines changed

lib/argv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (version='') => {
4242
.boolean('rejectUnauthorized')
4343
.describe('rejectUnauthorized', 'Reject all unauthorized certificates upon connection')
4444
.help('help', 'Show help menu')
45-
.version(() => version)
45+
.version(version)
4646
.alias('version', 'v')
4747
.example('wssip -p 8081 -s', 'listen on localhost:8081 and autostart the proxy')
4848
.example('wssip --timeout 30', 'wait 30 seconds for page load before stopping')

0 commit comments

Comments
 (0)