Skip to content

Commit

Permalink
Update scp2. Stylefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Nov 14, 2013
1 parent c7b6544 commit ead9f3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "grunt-scp",
"description": "Copy files to remote server",
"version": "0.1.5",
"version": "0.1.6",
"homepage": "https://github.com/spmjs/grunt-scp",
"author": {
"name": "Hsiaoming Yang",
"email": "lepture@me.com",
"email": "me@lepture.com",
"url": "http://lepture.com"
},
"repository": {
Expand All @@ -29,7 +29,7 @@
},
"dependencies": {
"async": "~0.2.6",
"scp2": "~0.1.3"
"scp2": "~0.1.4"
},
"keywords": [
"gruntplugin"
Expand Down
4 changes: 2 additions & 2 deletions tasks/scp.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = function(grunt) {
});

async.eachSeries(this.files, function(fileObj, cb) {
upload(fileObj, cb)
upload(fileObj, cb);
}, function(err) {
if (err) {
grunt.log.error('Error ' + err);
Expand All @@ -74,7 +74,7 @@ module.exports = function(grunt) {
filename = path.relative(fileObj.orig.cwd, filepath);
}
destfile = path.join(fileObj.dest, filename);
client.upload(filepath, destfile, cb)
client.upload(filepath, destfile, cb);
}, function(err) {
cb(err);
});
Expand Down

0 comments on commit ead9f3f

Please sign in to comment.