mirror of
https://github.com/strapi/strapi.git
synced 2025-09-01 04:42:58 +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,
|
run: false,
|
||||||
};
|
};
|
||||||
if (starterPackageInfo.version) {
|
if (starterPackageInfo.version) {
|
||||||
starterPackageInfo.template = `${starterJson.template.name}@${starterJson.template.version}`;
|
generateStrapiAppOptions.template = `${starterJson.template.name}@${starterJson.template.version}`;
|
||||||
} else {
|
} else {
|
||||||
starterPackageInfo.template = starterJson.template.name;
|
generateStrapiAppOptions.template = starterJson.template.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create strapi app using the template
|
// Create strapi app using the template
|
||||||
|
Loading…
x
Reference in New Issue
Block a user