Skip to content

Commit

Permalink
update name of func
Browse files Browse the repository at this point in the history
  • Loading branch information
asanehisa committed Jul 29, 2024
1 parent fbc43e5 commit 46bf905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pages/src/scaffold/template/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const generateVETemplate = async (
addVETemplateToConfig(templateFileName, projectStructure);

try {
await getDependencies();
await addVEDependencies();
} catch (error) {
logErrorAndExit(error);
}
Expand All @@ -163,7 +163,7 @@ const addVETemplateToConfig = (
}
};

const getDependencies = async () => {
const addVEDependencies = async () => {
await updatePackageDependency("@yext/visual-editor", null, true);
await updatePackageDependency("@measured/puck", null, true);
await installDependencies();
Expand Down

0 comments on commit 46bf905

Please sign in to comment.