Skip to content

Commit

Permalink
feat: log project names if building multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
iliazeus committed Sep 28, 2023
1 parent d441d5c commit 258adc5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions actions/build.action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ export class BuildAction extends AbstractAction {
}

for (const appName of appNames) {
// if we just always print the project name,
// it will change the output compared to previous version,
// and some clients may rely on that
// TODO: always print in next major version
if (appNames.length > 1) {
if (appName === undefined) {
console.log(`Building default project...`);
} else {
console.log(`Building project ${appName}`);
}
}

const pathToTsconfig = getTscConfigPath(
configuration,
commandOptions,
Expand Down

0 comments on commit 258adc5

Please sign in to comment.