Commit 383e8f0c by Johannes Zellner

Add missing callback in upload

1 parent d904812f
Showing with 2 additions and 0 deletions
......@@ -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) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!