Skip to content

Commit

Permalink
SFTP: replace deprecated util.isDate()
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw authored and mscdex committed Jun 13, 2024
1 parent a56e70e commit 4f771c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/protocol/SFTP.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const {
Readable: ReadableStream,
Writable: WritableStream
} = require('stream');
const { inherits, isDate } = require('util');
const { inherits, types: { isDate } } = require('util');

const FastBuffer = Buffer[Symbol.species];

Expand Down

0 comments on commit 4f771c9

Please sign in to comment.