Skip to content

Commit

Permalink
chore: fixed typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jan 4, 2025
1 parent bc96f88 commit b094582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async function download({ context, repository, owner }: { context: GitHubContext
console.log(`Configuration file found at ${owner}/${repository}/${filePath}`);
return data as unknown as string; // this will be a string if media format is raw
} catch (err) {
// In case of a missing config, do not log is as an error
// In case of a missing config, do not log it as an error
if (err && typeof err === "object" && "status" in err && err.status === 404) {
console.log(`No configuration file was found at ${owner}/${repository}/${filePath}`);
} else {
Expand Down

0 comments on commit b094582

Please sign in to comment.