Update function name

This commit is contained in:
Michael Jackson 2020-01-21 07:48:25 -08:00
parent 98534453aa
commit 780d0076a1
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ function groupBy(array, n) {
return groups;
}
async function run(packageName, version) {
async function purgeCache(packageName, version) {
if (packageName == null) {
console.error(
chalk.red(
@ -67,6 +67,6 @@ async function run(packageName, version) {
const packageName = process.argv[2];
const version = process.argv[3];
run(packageName, version).then(exitCode => {
purgeCache(packageName, version).then(exitCode => {
process.exit(exitCode);
});