Skip to content

Commit b6b48fa

Browse files
committed
Fix standard error
1 parent c527e1e commit b6b48fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ module.exports = function (argv) {
162162

163163
// Support nohup
164164
// https://github.com/typicode/json-server/issues/221
165-
process.stdin.on('error', (err) => {
165+
process.stdin.on('error', () => {
166166
console.log(' Error, can\'t read from stdin')
167167
})
168168
process.stdin.setEncoding('utf8')

0 commit comments

Comments
 (0)