mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-02 06:35:29 +00:00
debt - use platform over node.js OS
This commit is contained in:
@@ -43,7 +43,7 @@ export async function main(argv: string[]): Promise<any> {
|
||||
|
||||
// Help
|
||||
if (args.help) {
|
||||
const executable = `${product.applicationName}${os.platform() === 'win32' ? '.exe' : ''}`;
|
||||
const executable = `${product.applicationName}${isWindows ? '.exe' : ''}`;
|
||||
console.log(buildHelpMessage(product.nameLong, executable, product.version, OPTIONS));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user