From 78bda898f9f7135fb5abfa98956d75a1b6973033 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Fri, 2 Nov 2018 02:01:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Rename=20getPatch()=20to=20insta?= =?UTF-8?q?llPatch()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 4 ++-- src/ssn/{getPatch.ts => installPatch.ts} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/ssn/{getPatch.ts => installPatch.ts} (98%) diff --git a/src/index.ts b/src/index.ts index 510e106..1ce0ef0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,9 +6,9 @@ import ISolidSimple from './interfaces/ISolidSimple'; import { ISsnFileEntry } from './interfaces/ISsnFileEntry'; import findReleasePath from './ssn/findReleasePath'; import getManifest from './ssn/getManifest'; -import getPatch from './ssn/getPatch'; import getPatchZip from './ssn/getPatchZip'; import getSolidpkg from './ssn/getSolidpkg'; +import installPatch from './ssn/installPatch'; import verifyProductName from './ssn/verify/verifyProductName'; -export { IManifest, ISolidSimple, ISsnFileEntry, Product, findReleasePath, getManifest, getPatch, getSolidpkg, getPatchZip, verifyProductName }; +export { IManifest, ISolidSimple, ISsnFileEntry, Product, findReleasePath, getManifest, installPatch, getSolidpkg, getPatchZip, verifyProductName }; diff --git a/src/ssn/getPatch.ts b/src/ssn/installPatch.ts similarity index 98% rename from src/ssn/getPatch.ts rename to src/ssn/installPatch.ts index 340aa1b..9705337 100644 --- a/src/ssn/getPatch.ts +++ b/src/ssn/installPatch.ts @@ -26,7 +26,7 @@ interface IGetPatchArgs { } /** Downloads and installs the specified patch. */ -export default async function getPatch({ product, from, to, sourceDirectory, targetDirectory }: IGetPatchArgs) { +export default async function installPatch({ product, from, to, sourceDirectory, targetDirectory }: IGetPatchArgs) { //Verify function arguments if (!verifyProductName(product)) {