👷‍♂️ Update dependency

This commit is contained in:
C-3PO 2018-11-02 02:04:20 +01:00
parent d7de82ab30
commit 9208d5df45
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
import parseArguments from 'argument-parser';
import { getPatch, Product, verifyProductName } from 'ssn';
import { installPatch, Product, verifyProductName } from 'ssn';
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.` },
@ -17,7 +17,7 @@ const { args, fail } = parseArguments({
(async () => {
try {
await getPatch({
await installPatch({
product: args.product as Product,
from: Number(args.from),
to: Number(args.to),