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