Skip to content

Commit

Permalink
Added CurseForge/Modrinth IDs to debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
Kir-Antipov committed Apr 5, 2024
1 parent 6b128cd commit 167fcce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ async function fillInDefaultValues<T extends McPublishInput[P], P extends Platfo
options.dependencies ??= metadata?.dependencies || [];
options.gameVersions = unwrappedGameVersions;

getDefaultLogger().info(`CurseForge ID: ${metadata?.getProjectId(PlatformType.CURSEFORGE)}`);
getDefaultLogger().info(`Modrinth ID: ${metadata?.getProjectId(PlatformType.MODRINTH)}`);
getDefaultLogger().info(`Primary file type: ${metadata?.loaders.join(", ")}`);
for (const file of options.files) {
getDefaultLogger().info(`Publishing: ${file.path}`);
Expand Down

0 comments on commit 167fcce

Please sign in to comment.