Fix syntax

This commit is contained in:
typicode
2015-05-15 02:35:06 +02:00
committed by Typicode
parent a7f7473981
commit 9a1f4fffd6

View File

@ -60,7 +60,6 @@ function start (object, filename) {
'Enter ' + chalk.cyan('s') + ' at any time to create a snapshot of the db'
)
process.stdin.resume()
process.stdin.setEncoding('utf8')
process.stdin.on('data', function (chunk) {
@ -106,7 +105,6 @@ function start (object, filename) {
}
console.log()
var server = jsonServer.create()
server.use(jsonServer.defaults)
server.use(router)