fix(create-app): Don't suggest install if already installed

Signed-off-by: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com>
This commit is contained in:
Adam Harvey
2023-10-20 10:39:46 -04:00
parent f6b10802ff
commit 597f3a86bf
+1 -1
View File
@@ -131,7 +131,7 @@ export default async (opts: OptionValues): Promise<void> => {
);
Task.log();
Task.section('All set! Now you might want to');
if (!opts.skipInstall) {
if (opts.skipInstall) {
Task.log(
` Install the dependencies: ${chalk.cyan(
`cd ${opts.path ?? answers.name} && yarn install`,