From 2bfa4346dd35e52cf8c82eb7deb9b0dff4aad47f Mon Sep 17 00:00:00 2001 From: techno-express Date: Mon, 5 Feb 2018 15:06:54 -0500 Subject: [PATCH] testing, fix spelling --- lib/add.js | 2 +- lib/delete.js | 2 +- lib/extract.js | 2 +- lib/extractFull.js | 2 +- lib/list.js | 2 +- lib/test.js | 2 +- lib/update.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/add.js b/lib/add.js index 519d406..cd11e57 100644 --- a/lib/add.js +++ b/lib/add.js @@ -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) { diff --git a/lib/delete.js b/lib/delete.js index 0939556..c74bbad 100644 --- a/lib/delete.js +++ b/lib/delete.js @@ -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) { diff --git a/lib/extract.js b/lib/extract.js index 688ad2a..5f96dd5 100644 --- a/lib/extract.js +++ b/lib/extract.js @@ -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) { diff --git a/lib/extractFull.js b/lib/extractFull.js index 4366144..02cd148 100644 --- a/lib/extractFull.js +++ b/lib/extractFull.js @@ -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) { diff --git a/lib/list.js b/lib/list.js index 08e6d7b..d96bfa9 100644 --- a/lib/list.js +++ b/lib/list.js @@ -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) { diff --git a/lib/test.js b/lib/test.js index 2e80070..bad52c9 100644 --- a/lib/test.js +++ b/lib/test.js @@ -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) { diff --git a/lib/update.js b/lib/update.js index 5cb6e29..d725a88 100644 --- a/lib/update.js +++ b/lib/update.js @@ -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) {