Skip to content

Commit

Permalink
Merge pull request #431 from oclif/mdonnalley/use-correct-version
Browse files Browse the repository at this point in the history
fix: display current CLI version
  • Loading branch information
mdonnalley authored May 14, 2024
2 parents 2dd93ad + ec0f4fb commit 8924feb
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 8924feb

Please sign in to comment.