Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Feb 6, 2018
1 parent 24936a1 commit 60b7ccf
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 20 deletions.
4 changes: 2 additions & 2 deletions lib/add.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
var path = require('path');
var when = require('when');
var u = {
var u = {
files: require('../util/files'),
run: require('../util/run'),
switches: require('../util/switches'),
Expand Down Expand Up @@ -31,7 +31,7 @@ module.exports = function(archive, files, options) {
} catch (e) {
var command = '7za a "' + archive + '" ' + files;
}
console.log('>>', command, options);

// Start the command
u.run(command, options)

Expand Down
8 changes: 4 additions & 4 deletions lib/delete.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';
var when = require('when');
var u = {
files : require('../util/files'),
run : require('../util/run'),
var u = {
files: require('../util/files'),
run: require('../util/run'),
switches: require('../util/switches'),
path : require('../util/path')
path: require('../util/path')
};

/**
Expand Down
6 changes: 3 additions & 3 deletions lib/extract.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';
var path = require('path');
var when = require('when');
var u = {
run : require('../util/run'),
var u = {
run: require('../util/run'),
switches: require('../util/switches'),
path : require('../util/path')
path: require('../util/path')
};

/**
Expand Down
6 changes: 3 additions & 3 deletions lib/extractFull.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';
var path = require('path');
var when = require('when');
var u = {
run : require('../util/run'),
var u = {
run: require('../util/run'),
switches: require('../util/switches'),
path : require('../util/path')
path: require('../util/path')
};

/**
Expand Down
6 changes: 3 additions & 3 deletions lib/list.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';
var path = require('path');
var when = require('when');
var u = {
run : require('../util/run'),
var u = {
run: require('../util/run'),
switches: require('../util/switches'),
path : require('../util/path')
path: require('../util/path')
};

/**
Expand Down
6 changes: 3 additions & 3 deletions lib/test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';
var path = require('path');
var when = require('when');
var u = {
run : require('../util/run'),
var u = {
run: require('../util/run'),
switches: require('../util/switches'),
path : require('../util/path')
path: require('../util/path')
};

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ var path = require('path');
var when = require('when');
var u = {
run: require('../util/run'),
switches : require('../util/switches'),
path : require('../util/path')
switches: require('../util/switches'),
path: require('../util/path')
};

/**
Expand Down
1 change: 1 addition & 0 deletions test/lib/add.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
'use strict';
var expect = require('chai').expect;
var exec = require('child_process').execSync;
var add = require('../../lib/add');
var path = require('../../util/path');
var _7zcmd = path();

Expand Down

0 comments on commit 60b7ccf

Please sign in to comment.