Skip to content

Commit 3b21709

Browse files
xxoraxmscdex
authored andcommitted
readme: fix parseKey usage in example
1 parent 45da155 commit 3b21709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ const { timingSafeEqual } = require('crypto');
490490
const { readFileSync } = require('fs');
491491
const { inspect } = require('util');
492492

493-
const { parseKey, Server } = require('ssh2');
493+
const { utils: { parseKey }, Server } = require('ssh2');
494494

495495
const allowedUser = Buffer.from('foo');
496496
const allowedPassword = Buffer.from('bar');

0 commit comments

Comments
 (0)