Skip to content

Commit dd73a33

Browse files
committed
fix: fix error code param
1 parent 7714c66 commit dd73a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/files/normalise-input.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ const globalThis = require('../globalthis')
4343
* AsyncIterable<{ path, content: AsyncIterable<Buffer> }>
4444
* ```
4545
*
46-
* @param input Object
46+
* @param {Object} input
4747
* @return AsyncInterable<{ path, content: AsyncIterable<Buffer> }>
4848
*/
4949
module.exports = function normaliseInput (input) {
5050
// must give us something
5151
if (input === null || input === undefined) {
52-
throw errCode(new Error(`Unexpected input: ${input}`, 'ERR_UNEXPECTED_INPUT'))
52+
throw errCode(new Error(`Unexpected input: ${input}`), 'ERR_UNEXPECTED_INPUT')
5353
}
5454

5555
// String

0 commit comments

Comments
 (0)