Skip to content

Commit

Permalink
move version to end
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaleaps committed Dec 15, 2023
1 parent b3e3f87 commit 05caa4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/monorepo/print/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ const main = () => {
const packageName = packageManifest.name;
const isPublic = !packageManifest.private;
if ((public && isPublic) || (private && !isPublic)) {
echo(`${packageName}, ${packageManifest.version}`);
echo(`${packageName} ${packageManifest.version}`);
} else if (!private && !public) {
echo(
`${isPublic ? '\u{1F4E6}' : '\u{1F512}'} ${
`${isPublic ? '\u{1F4E6}' : '\u{1F512}'} ${packageName} ${
packageManifest.version
} ${packageName}`,
}`,
);
}
},
Expand Down

0 comments on commit 05caa4a

Please sign in to comment.