in src/extension.js [62:82]
async function getProcess() {
let results;
if (os.platform() === 'win32') {
results = await exec('where aliyun');
} else {
results = await exec('which aliyun');
}
if (results.stdout === "") {
const message = `The command 'aliyun' not found on PATH, please make sure it is installed.`;
await popupInstallCLI(message);
return;
}
const { stdout } = await exec('aliyun version');
let version = stdout.trim();
if (version && semver.valid(version) && !semver.gte(version, '3.0.183')) {
const message = '\'aliyun\' >= 3.0.183 required, please update your installation.';
await popupInstallCLI(message);
}
}