mirror of
https://github.com/strapi/strapi.git
synced 2025-08-30 19:56:05 +00:00
Fix starters not using matching template
This commit is contained in:
parent
8180ea013c
commit
2db43b331f
@ -167,9 +167,9 @@ module.exports = async function buildStarter({ projectName, starter }, program)
|
||||
run: false,
|
||||
};
|
||||
if (starterPackageInfo.version) {
|
||||
starterPackageInfo.template = `${starterJson.template.name}@${starterJson.template.version}`;
|
||||
generateStrapiAppOptions.template = `${starterJson.template.name}@${starterJson.template.version}`;
|
||||
} else {
|
||||
starterPackageInfo.template = starterJson.template.name;
|
||||
generateStrapiAppOptions.template = starterJson.template.name;
|
||||
}
|
||||
|
||||
// Create strapi app using the template
|
||||
|
Loading…
x
Reference in New Issue
Block a user