From 902d095f6e0fe7ca05adfd75c1424838bc1b4637 Mon Sep 17 00:00:00 2001 From: Craig Sketchley Date: Fri, 27 May 2016 12:12:11 +1000 Subject: [PATCH] Silent output of npm install --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index b5d5776f..4f81c3ac 100644 --- a/lib/main.js +++ b/lib/main.js @@ -163,7 +163,7 @@ Lambda.prototype._rsync = function (program, codeDirectory, callback) { }; Lambda.prototype._npmInstall = function (program, codeDirectory, callback) { - exec('npm install --production --prefix ' + codeDirectory, function (err) { + exec('npm -s install --production --prefix ' + codeDirectory, function (err) { if (err) { return callback(err); }