Skip to content

Commit

Permalink
reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Feb 5, 2018
1 parent ca8f45c commit 1b932dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var u = {
files : require('../util/files'),
run : require('../util/run'),
switches: require('../util/switches'),
path : require('../util/path')
path : require('../util/path'),
};

/**
Expand All @@ -22,7 +22,7 @@ module.exports = function (archive, files, options) {
return when.promise(function (resolve, reject, progress) {

// Convert array of files into a string if needed.
var files = u.files(files);
files = u.files(files);
try {
if (options.path) {
var command = u.path(options);
Expand Down
1 change: 0 additions & 1 deletion util/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ module.exports = function (command, switches) {
run.stderr.on('data', function (data) {
//throw errors
err = data.toString();
reject(err)
});
run.on('error', function (err) {
reject(err)
Expand Down

0 comments on commit 1b932dd

Please sign in to comment.