in src/ContainerAppHelper.ts [258:268]
public async doesResourceGroupExist(resourceGroup: string): Promise<boolean> {
toolHelper.writeDebug(`Attempting to determine if resource group "${resourceGroup}" exists`);
try {
let command = `az group show -n ${resourceGroup} -o none`;
let executionResult = await util.execute(command);
return executionResult.exitCode === 0;
} catch (err) {
toolHelper.writeInfo(err.message);
return false;
}
}