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)) {