mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Handle error
This commit is contained in:
parent
4e9c87f80b
commit
b6cdb6d0cd
@ -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"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user