Skip to content

Commit

Permalink
cleanup, messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
purplecabbage committed Sep 20, 2024
1 parent 96d2893 commit 8ddf3d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/app/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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']) {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 8ddf3d8

Please sign in to comment.