Do not allow targetPath to be overriden via package.json
Signed-off-by: Min Kim <minkimcello@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user