Skip to content

Commit d2811c8

Browse files
authored
feat(cli): prompt message to override to show the component name (#1572)
1 parent 1cfa5a4 commit d2811c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/utils/updaters/update-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export async function updateFiles(
155155
type: 'confirm',
156156
name: 'overwrite',
157157
message: `The file ${highlighter.info(
158-
fileName,
158+
path.relative(config.resolvedPaths.ui, filePath),
159159
)} already exists. Would you like to overwrite?`,
160160
initial: false,
161161
})

0 commit comments

Comments
 (0)