Skip to content

Commit

Permalink
fix: display current CLI version
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed May 14, 2024
1 parent 2dd93ad commit ec0f4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class Version extends Command {

const cliPublishedString = details
? ansis.dim(
` published ${daysAgo(details.time[details.version])} days ago (${humanReadableDate(details.time[details.version])})`,
` published ${daysAgo(details.time[this.config.version])} days ago (${humanReadableDate(details.time[this.config.version])})`,
)
: ''
const notLatestWarning =
Expand Down

0 comments on commit ec0f4fb

Please sign in to comment.