Skip to content

Commit

Permalink
Logger should use friendly names of the platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Kir-Antipov committed May 20, 2023
1 parent cf1e5a9 commit 9cf54a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function publish(action: Action, githubContext: GitHubContext, logger: Log
}

if (processedPlatforms.length) {
logger.info(`🎉 Successfully published the assets to ${processedPlatforms.join(", ")}`);
logger.info(`🎉 Successfully published the assets to ${processedPlatforms.map(p => PlatformType.friendlyNameOf(p)).join(", ")}`);
} else if (!errors.hasErrors) {
logger.warn("⚠️ No valid platform tokens found in your config. To publish your project, please add the required access tokens for the desired platforms. Assets will not be published without them. Refer to the documentation for assistance in setting up your tokens.");
}
Expand Down

0 comments on commit 9cf54a3

Please sign in to comment.