👷♂️ Update dependency
This commit is contained in:
parent
d7de82ab30
commit
9208d5df45
2 changed files with 5 additions and 5 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -21,16 +21,16 @@
|
||||||
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
|
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
|
||||||
},
|
},
|
||||||
"ssn": {
|
"ssn": {
|
||||||
"version": "git+https://git.jedipedia.net/swtor/ssn.git#4dec585ba98d9569a5c003f66ca69f2215acdda7",
|
"version": "git+https://git.jedipedia.net/swtor/ssn.git#78bda898f9f7135fb5abfa98956d75a1b6973033",
|
||||||
"from": "git+https://git.jedipedia.net/swtor/ssn.git",
|
"from": "git+https://git.jedipedia.net/swtor/ssn.git",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@types/node": "^10.12.2",
|
"@types/node": "^10.12.2",
|
||||||
"ssn-installer": "git+https://git.jedipedia.net/swtor/ssn-installer.git#15ca59a6a6c06d092383d6fdfb72a8e55bfa407b",
|
"ssn-installer": "git+https://git.jedipedia.net/swtor/ssn-installer.git#488e49b6b234caca0bfbc3f746fa16abdc002dea",
|
||||||
"xml-js": "^1.6.8"
|
"xml-js": "^1.6.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ssn-installer": {
|
"ssn-installer": {
|
||||||
"version": "git+https://git.jedipedia.net/swtor/ssn-installer.git#15ca59a6a6c06d092383d6fdfb72a8e55bfa407b",
|
"version": "git+https://git.jedipedia.net/swtor/ssn-installer.git#488e49b6b234caca0bfbc3f746fa16abdc002dea",
|
||||||
"from": "git+https://git.jedipedia.net/swtor/ssn-installer.git"
|
"from": "git+https://git.jedipedia.net/swtor/ssn-installer.git"
|
||||||
},
|
},
|
||||||
"xml-js": {
|
"xml-js": {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import parseArguments from 'argument-parser';
|
import parseArguments from 'argument-parser';
|
||||||
import { getPatch, Product, verifyProductName } from 'ssn';
|
import { installPatch, Product, verifyProductName } from 'ssn';
|
||||||
|
|
||||||
const { args, fail } = parseArguments({
|
const { args, fail } = parseArguments({
|
||||||
product: { short: 'p', description: 'Name of the product you want to install', verify: verifyProductName, message: (value) => `"${value}" is not a valid product name.` },
|
product: { short: 'p', description: 'Name of the product you want to install', verify: verifyProductName, message: (value) => `"${value}" is not a valid product name.` },
|
||||||
|
@ -17,7 +17,7 @@ const { args, fail } = parseArguments({
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
await getPatch({
|
await installPatch({
|
||||||
product: args.product as Product,
|
product: args.product as Product,
|
||||||
from: Number(args.from),
|
from: Number(args.from),
|
||||||
to: Number(args.to),
|
to: Number(args.to),
|
||||||
|
|
Loading…
Reference in a new issue