aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2015-11-30 16:04:22 +0100
committerJohannes Zellner <johannes@nebulon.de>2015-11-30 16:04:22 +0100
commit383e8f0cc7feff1275f54b3df28dcc47be6850cd (patch)
tree06f98114376c0a299ad88e31b492810b2e5fc4ce /cli
parentd904812f219c0fa82837b66b18271e5f34e4fe32 (diff)
downloadSurfer-383e8f0cc7feff1275f54b3df28dcc47be6850cd.tar.gz
Surfer-383e8f0cc7feff1275f54b3df28dcc47be6850cd.tar.zst
Surfer-383e8f0cc7feff1275f54b3df28dcc47be6850cd.zip
Add missing callback in upload
Diffstat (limited to 'cli')
-rw-r--r--cli/actions.js2
1 files changed, 2 insertions, 0 deletions
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) {
114 if (result.statusCode !== 201) return callback(new Error('Error uploading file: ' + result.statusCode)); 114 if (result.statusCode !== 201) return callback(new Error('Error uploading file: ' + result.statusCode));
115 115
116 console.log('Uploaded to ' + config.server() + destinationPath); 116 console.log('Uploaded to ' + config.server() + destinationPath);
117
118 callback(null);
117 }); 119 });
118 }, function (error) { 120 }, function (error) {
119 if (error) { 121 if (error) {