There was an error while loading. Please reload this page.
1 parent c527e1e commit b6b48faCopy full SHA for b6b48fa
1 file changed
src/cli/run.js
@@ -162,7 +162,7 @@ module.exports = function (argv) {
162
163
// Support nohup
164
// https://github.com/typicode/json-server/issues/221
165
- process.stdin.on('error', (err) => {
+ process.stdin.on('error', () => {
166
console.log(' Error, can\'t read from stdin')
167
})
168
process.stdin.setEncoding('utf8')
0 commit comments