Skip to content

Commit

Permalink
fix(cli): source code visibility messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlescano committed Oct 3, 2024
1 parent b91b586 commit e72fbad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/cli/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,14 @@ export async function build({
log('Version: ' + cyanBright(`${pkgVersion}`));
log('Preset: ' + cyanBright(`${preset}`) + (preset == 'main' ? gray(' (default)') : ''));
log('Chain ID: ' + cyanBright(`${chainId}`));
if (!publicSourceCode) {
log(`Private Source Code: ${cyanBright('true')} ${gray('(contracts source code will not be included)')}`);
if (publicSourceCode) {
log(gray('Source code will be included in the package'));
} else {
log(`Private Source Code: ${cyanBright('true')} ${gray('(source code will not be included in the resulting package)')}`);
}
if (upgradeFrom) {
log(`Upgrading from: ${cyanBright(upgradeFrom)}`);
}
if (publicSourceCode) {
log(gray('Source code will be included in the package'));
}
log('');

const rpcUrlMsg =
Expand Down

0 comments on commit e72fbad

Please sign in to comment.