Skip to content

Commit

Permalink
testing, fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Feb 5, 2018
1 parent b7ae006 commit 2bfa434
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (archive, files, options) {
files = u.files(files);
try {
if (options.path) {
var command = u.path(optins);
var command = u.path(options);
command += ' a "' + archive + '" ' + files;
} else var command = '7za a "' + archive + '" ' + files;
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (archive, files, options) {
// Create a string that can be parsed by `run`.
try {
if (options.path) {
var command = u.path(optins);
var command = u.path(options);
command += ' d "' + archive + '" ' + files;
} else var command = '7za d "' + archive + '" ' + files;
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/extract.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function (archive, dest, options) {
// Create a string that can be parsed by `run`.
try {
if (options.path) {
var command = u.path(optins);
var command = u.path(options);
command += ' e "' + archive + '" ' + files;
} else var command = '7za e "' + archive + '" -o"' + dest + '" ';
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/extractFull.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function (archive, dest, options) {
// Create a string that can be parsed by `run`.
try {
if (options.path) {
var command = u.path(optins);
var command = u.path(options);
command += ' x "' + archive + '" ' + files;
} else var command = '7za x "' + archive + '" -o"' + dest + '" ';
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = function (archive, options) {
// Create a string that can be parsed by `run`.
try {
if (options.path) {
var command = u.path(optins);
var command = u.path(options);
command += ' l "' + archive + '" ' + files;
} else var command = '7za l "' + archive + '" ';
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = function (archive, options) {
// Create a string that can be parsed by `run`.
try {
if (options.path) {
var command = u.path(optins);
var command = u.path(options);
command += ' t "' + archive + '" ' + files;
} else var command = '7za t "' + archive + '"';
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function (archive, files, options) {
// Create a string that can be parsed by `run`.
try {
if (options.path) {
var command = u.path(optins);
var command = u.path(options);
command += ' u "' + archive + '" ' + files;
} else var command = '7za u "' + archive + '" "' + files + '"';
} catch (e) {
Expand Down

0 comments on commit 2bfa434

Please sign in to comment.