Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

PUBLIC / surfer-okd

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 383e8f0c authored 9 years ago by Johannes Zellner's avatar Johannes Zellner
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Add missing callback in upload

1 parent d904812f
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 0 deletions
  • cli/actions.js
cli/actions.js
View file @383e8f0
......@@ -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) {
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
  • Please register or sign in to post a comment