feat: add version of Code OSS to output (#4925)

Show the bundled version of Code OSS in the text-based output
for --version and --help, in addition to the JSON output
(--version --json)

Closes: #4874
This commit is contained in:
Jonathan Yu
2022-03-01 12:20:43 -08:00
committed by GitHub
parent 506d3f43ed
commit 2c785779b5
3 changed files with 9 additions and 13 deletions

View File

@ -35,7 +35,7 @@ export const httpProxyUri =
* for outputting to the console.
*/
export function getVersionString(): string {
return [version, commit].join(" ")
return [version, commit, "with Code", codeVersion].join(" ")
}
/**