From ec0f4fbbdad89ad8fc1dea9b3f2bb211bbcd32d2 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 14 May 2024 14:33:28 -0600 Subject: [PATCH] fix: display current CLI version --- src/commands/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/version.ts b/src/commands/version.ts index 4a7cb86..2794c83 100644 --- a/src/commands/version.ts +++ b/src/commands/version.ts @@ -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 =