Skip to content
This repository was archived by the owner on Mar 30, 2021. It is now read-only.

Commit ec01d16

Browse files
committed
changed warning in npm flow if component-dist exists
1 parent 8d63e31 commit ec01d16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generators/app/validator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ validators.importBuildFileFromNPM = async function(props) {
116116
return chalk.red(
117117
`Sorry, there already seems to be a directory with the same name ${chalk.cyan(
118118
"(component-dist)"
119-
)}, please change it's name or move it.\n If you want to just copy this file into that directory, enter ${chalk.cyan(
119+
)}, please input ${chalk.cyan(
120120
"skip"
121-
)}.\n`
121+
)} to rename the directory in which build file will be imported or overwrite the contents of the existing directory.\n`
122122
);
123123
}
124124

0 commit comments

Comments
 (0)