From 58c49f1c9de64067f10f99b77bfd6eb4a4dd7988 Mon Sep 17 00:00:00 2001 From: sonic Date: Fri, 15 May 2015 02:35:06 +0200 Subject: [PATCH] Fix syntax --- bin/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/index.js b/bin/index.js index 5386188..b06e941 100755 --- a/bin/index.js +++ b/bin/index.js @@ -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)