in src/cloudShell.ts [234:249]
private async resolveContainerCmd(TestType: string): Promise<string> {
switch (TestType) {
case TestOption.lint:
return "rake -f ../Rakefile build";
case TestOption.e2e:
return "ssh-keygen -t rsa -b 2048 -C terraformTest -f /root/.ssh/id_rsa -N ''; rake -f ../Rakefile e2e";
case TestOption.custom:
const cmd: string = await vscode.window.showInputBox({
prompt: "Type your custom test command",
value: "rake -f ../Rakefile build",
});
return cmd ? cmd : "";
default:
return "";
}
}