Skip to content

Commit 8014d52

Browse files
committed
Use the existing this.HostVersion for version info
1 parent 485ad95 commit 8014d52

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/session.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,10 @@ export class SessionManager implements Middleware {
194194
} else {
195195
const packageJSON: any = require("../../package.json");
196196
const previewStr = (packageJSON.name.toLowerCase() === "powershell-preview") ? "Preview " : "";
197-
const version = packageJSON.version;
198197

199198
const startupBanner = `
200199
201-
=====> PowerShell ${previewStr}Integrated Console v${version} <=====
200+
=====> PowerShell ${previewStr}Integrated Console v${this.HostVersion} <=====
202201
203202
`;
204203

0 commit comments

Comments
 (0)