🚚 Rename getPatch() to installPatch()
This commit is contained in:
parent
2b2c1d42e5
commit
78bda898f9
2 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ import ISolidSimple from './interfaces/ISolidSimple';
|
||||||
import { ISsnFileEntry } from './interfaces/ISsnFileEntry';
|
import { ISsnFileEntry } from './interfaces/ISsnFileEntry';
|
||||||
import findReleasePath from './ssn/findReleasePath';
|
import findReleasePath from './ssn/findReleasePath';
|
||||||
import getManifest from './ssn/getManifest';
|
import getManifest from './ssn/getManifest';
|
||||||
import getPatch from './ssn/getPatch';
|
|
||||||
import getPatchZip from './ssn/getPatchZip';
|
import getPatchZip from './ssn/getPatchZip';
|
||||||
import getSolidpkg from './ssn/getSolidpkg';
|
import getSolidpkg from './ssn/getSolidpkg';
|
||||||
|
import installPatch from './ssn/installPatch';
|
||||||
import verifyProductName from './ssn/verify/verifyProductName';
|
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 };
|
||||||
|
|
|
@ -26,7 +26,7 @@ interface IGetPatchArgs {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Downloads and installs the specified patch. */
|
/** 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
|
//Verify function arguments
|
||||||
|
|
||||||
if (!verifyProductName(product)) {
|
if (!verifyProductName(product)) {
|
Loading…
Reference in a new issue