Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
branberry committed Feb 27, 2024
1 parent b0483b1 commit f54b4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache-updater/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (!SNOOTY_CACHE_BUCKET_NAME) throw new Error('ERROR! SNOOTY_CACHE_BUCKET_NAME
async function cloneDocsRepo(repoName: string, repoOwner: string) {
if (!GITHUB_BOT_USERNAME) {
const errorMessage = `ERROR! GITHUB_BOT_USERNAME is not set. ${repoOwner}/${repoName} will not have their cache updated`;
console.error(`ERROR! GITHUB_BOT_USERNAME is not set. ${repoOwner}/${repoName} will not have their cache updated`);
console.error(errorMessage);
throw new Error(errorMessage);
}

Expand Down

0 comments on commit f54b4d0

Please sign in to comment.