Skip to content

Commit edb02d3

Browse files
authored
Merge pull request #81 from MaxFork/max-updates-typo-mistake-occured-to-occurred
Fix typo from `occured` to `occurred`
2 parents 3ef62ae + 848ad2d commit edb02d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/functions/allowlist.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ async function orgTeamCheck(actor, orgTeams) {
4949
if (result.status === 204) {
5050
core.debug(`${actor} is in ${orgTeam}`)
5151
return true
52-
// If some other status code occured, return false and output a warning
52+
// If some other status code occurred, return false and output a warning
5353
} else {
5454
core.warning(`non 204 response from org team check: ${result.status}`)
5555
}
5656
} catch (error) {
5757
// If any of the API calls returns a 404, the user is not in the team
5858
if (error.status === 404) {
5959
core.debug(`${actor} is not a member of the ${orgTeam} team`)
60-
// If some other error occured, output a warning
60+
// If some other error occurred, output a warning
6161
} else {
6262
core.warning(`Error checking org team membership: ${error}`)
6363
}

0 commit comments

Comments
 (0)