From 383e8f0cc7feff1275f54b3df28dcc47be6850cd Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 30 Nov 2015 16:04:22 +0100 Subject: [PATCH] Add missing callback in upload --- cli/actions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/actions.js b/cli/actions.js index 70803b2..ab982a7 100644 --- a/cli/actions.js +++ b/cli/actions.js @@ -114,6 +114,8 @@ function put(filePath, otherFilePaths, options) { if (result.statusCode !== 201) return callback(new Error('Error uploading file: ' + result.statusCode)); console.log('Uploaded to ' + config.server() + destinationPath); + + callback(null); }); }, function (error) { if (error) { -- 2.41.0