Handle error

This commit is contained in:
Ruben Daniels 2015-04-01 02:15:30 +00:00 committed by nightwing
parent 4e9c87f80b
commit b6cdb6d0cd

View File

@ -740,6 +740,7 @@ define(function(require, exports, module) {
var err = code !== 0
? new Error("Failed to unpack package")
: null;
if (err) return callback(err)
proc.spawn(join(process.env.HOME, ".c9/node/bin/npm"), {
args: ["install"],