in src/manifestList.ts [254:278]
private async handleCommandNotFoundError(retryCallback: () => void): Promise<void> {
const BROWSE_FOR_FILE = 'Browse for file';
const DOWNLOAD_WSKDEPLOY = 'Download wskdeploy';
const answer = await vscode.window.showInformationMessage(
`The wskdeploy was not found. Would you like to find the binary file yourself?`,
{ modal: true },
BROWSE_FOR_FILE,
DOWNLOAD_WSKDEPLOY
);
if (answer === BROWSE_FOR_FILE) {
const uri = await vscode.window.showOpenDialog({
canSelectFiles: false,
canSelectMany: false,
});
if (uri) {
this.storageManager.setWskdeployPath(uri[0]);
retryCallback();
}
} else if (answer === DOWNLOAD_WSKDEPLOY) {
vscode.env.openExternal(
vscode.Uri.parse('https://github.com/apache/openwhisk-wskdeploy/releases')
);
}
}