From 8ddf3d8a92331e10e6ca34439eb5ca38663b45c2 Mon Sep 17 00:00:00 2001 From: Jesse MacFadyen Date: Thu, 19 Sep 2024 19:27:32 -0700 Subject: [PATCH] cleanup, messaging --- src/commands/app/build.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/app/build.js b/src/commands/app/build.js index 5cda8a23..20865856 100644 --- a/src/commands/app/build.js +++ b/src/commands/app/build.js @@ -72,7 +72,7 @@ class Build extends BaseCommand { if (flags.actions) { // removed flags['force-build'] || as it is always forced at this point, we need to check to decide what to build // if no backend, we skip the build - if (config.app.hasBackend) { // && (flags['force-build'] || !fs.existsSync(config.actions.dist))) { + if (config.app.hasBackend) { try { let builtList = [] const script = await runInProcess(config.hooks['build-actions'], config) @@ -96,7 +96,7 @@ class Build extends BaseCommand { throw err } } else { - spinner.info(`no backend or a build already exists, skipping action build for '${name}'`) + spinner.info(`no backend, skipping action build for '${name}'`) } } if (flags['web-assets']) { @@ -130,7 +130,7 @@ class Build extends BaseCommand { } } else { // TODO: specify which ... keep this useful - spinner.info(`no frontend or a build already exists, skipping frontend build for '${name}'`) + spinner.info(chalk.green(`No frontend or a build already exists, skipping frontend build for '${name}'`)) } } try {