Do not allow targetPath to be overriden via package.json

Signed-off-by: Min Kim <minkimcello@gmail.com>
This commit is contained in:
Min Kim
2024-12-21 18:49:14 -05:00
parent 051995aba5
commit 9b93f4dfd5
+1 -1
View File
@@ -76,7 +76,7 @@ export async function populateOptions(
baseVersion: await calculateBaseVersion(prompts.baseVersion),
owner: prompts.owner ?? '',
license: prompts.license ?? 'Apache-2.0',
targetPath: prompts.targetPath ?? template.targetPath,
targetPath: template.targetPath,
scope: prompts.scope ?? '',
moduleId: prompts.moduleId ?? '',
...prompts,