🚚 Rename getPatch() to installPatch()

This commit is contained in:
C-3PO 2018-11-02 02:01:26 +01:00
parent 2b2c1d42e5
commit 78bda898f9
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
2 changed files with 3 additions and 3 deletions

View file

@ -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 };

View file

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