Skip to content

Commit

Permalink
[eas-cli] make "No remote versions are configured" message green inst…
Browse files Browse the repository at this point in the history
…ead of yellow
  • Loading branch information
szdziedzic committed Jan 10, 2025
1 parent 86c8ac0 commit 2c588de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/eas-cli/src/build/android/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ export async function resolveRemoteVersionCodeAsync(
currentBuildVersion = remoteVersions.buildVersion;
} else {
if (localVersions.appBuildVersion) {
Log.warn(
'No remote versions are configured for this project, versionCode will be initialized based on the value from the local project.'
Log.log(
chalk.green(
'No remote versions are configured for this project, versionCode will be initialized based on the value from the local project.'
)
);
currentBuildVersion = localVersions.appBuildVersion;
} else {
Expand Down
6 changes: 4 additions & 2 deletions packages/eas-cli/src/build/ios/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,10 @@ export async function resolveRemoteBuildNumberAsync(
currentBuildVersion = remoteVersions.buildVersion;
} else {
if (localBuildNumber) {
Log.warn(
'No remote versions are configured for this project, buildNumber will be initialized based on the value from the local project.'
Log.log(
chalk.green(
'No remote versions are configured for this project, buildNumber will be initialized based on the value from the local project.'
)
);
currentBuildVersion = localBuildNumber;
} else {
Expand Down

0 comments on commit 2c588de

Please sign in to comment.