]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - cli/actions.js
Add missing callback in upload
[perso/Immae/Projets/Nodejs/Surfer.git] / cli / actions.js
index 70803b22e7ecb355b60c24f4b79ed18fffacbaad..ab982a7a14418d6ea977ae5f84d1ddba6b6ec889 100644 (file)
@@ -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) {