fix(core): update

This commit is contained in:
2020-06-10 05:34:47 +00:00
parent 90c9bfc906
commit fe2f45e3a9
9 changed files with 27 additions and 26 deletions

View File

@@ -47,10 +47,7 @@ export class CloudflareAccount {
if (filteredResponse.length >= 1) {
return filteredResponse[0].id;
} else {
logger.log(
'error',
`the domain ${domainName} does not appear to be in this account!`
);
logger.log('error', `the domain ${domainName} does not appear to be in this account!`);
throw new Error(`the domain ${domainName} does not appear to be in this account!`);
}
},