We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7714c66 commit dd73a33Copy full SHA for dd73a33
src/files/normalise-input.js
@@ -43,13 +43,13 @@ const globalThis = require('../globalthis')
43
* AsyncIterable<{ path, content: AsyncIterable<Buffer> }>
44
* ```
45
*
46
- * @param input Object
+ * @param {Object} input
47
* @return AsyncInterable<{ path, content: AsyncIterable<Buffer> }>
48
*/
49
module.exports = function normaliseInput (input) {
50
// must give us something
51
if (input === null || input === undefined) {
52
- throw errCode(new Error(`Unexpected input: ${input}`, 'ERR_UNEXPECTED_INPUT'))
+ throw errCode(new Error(`Unexpected input: ${input}`), 'ERR_UNEXPECTED_INPUT')
53
}
54
55
// String
0 commit comments