Update packages/generators/app/lib/utils/merge-template.js

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
This commit is contained in:
Rémi de Juvigny 2021-10-27 13:23:35 +02:00 committed by GitHub
parent 0369700e26
commit 51feb183c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ async function mergePackageJSON({ rootPath, templateConfig, templatePackageInfo
// Use lodash to deeply merge them
const mergedConfig = _.merge(packageJSON, templateConfig.package);
// Add starter info to package.json
// Add template info to package.json
if (templatePackageInfo.name) {
_.set(mergedConfig, 'strapi.template', templatePackageInfo.name);
}