Skip to content

Commit

Permalink
fix: typo in cli output (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard authored Oct 30, 2023
1 parent a14b310 commit 2fba111
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion script/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ export async function cli() {
const createChangelog = args.changelog ?? args.c ?? false

if (changes.length === 0) {
console.info(gray(`Checked ${filesChecked} files, no updates available.`))
console.info(
gray(
`Checked ${filesChecked} file${
filesChecked > 1 ? 's' : ''
}, no updates available.`,
),
)

if (createChangelog) {
await Deno.writeTextFile('./updates_changelog.md', '')
Expand Down

0 comments on commit 2fba111

Please sign in to comment.