Skip to content

Commit 2bde871

Browse files
authored
Merge pull request #393 from MaxFork/max-updates-typo-mistake-occured-to-occurred
Fix typo from `occured` to `occurred`
2 parents e837cad + b89bdcb commit 2bde871

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

__tests__/functions/commit-safety-checks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ test('checks a commit and finds that it is not safe (verification time) even tho
140140
reason: 'valid',
141141
signature: 'SOME_SIGNATURE',
142142
payload: 'SOME_PAYLOAD',
143-
verified_at: '2024-10-15T12:00:01Z' // occured after the trigger comment was created
143+
verified_at: '2024-10-15T12:00:01Z' // occurred after the trigger comment was created
144144
}
145145

146146
expect(await commitSafetyChecks(context, data)).toStrictEqual({

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/admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function orgTeamCheck(actor, orgTeams) {
5656
if (result.status === 204) {
5757
core.debug(`${actor} is in ${orgTeam}`)
5858
return true
59-
// If some other status code occured, return false and output a warning
59+
// If some other status code occurred, return false and output a warning
6060
} else {
6161
core.warning(`non 204 response from org team check: ${result.status}`)
6262
}
@@ -65,7 +65,7 @@ async function orgTeamCheck(actor, orgTeams) {
6565
// If any of the API calls returns a 404, the user is not in the team
6666
if (error.status === 404) {
6767
core.debug(`${actor} is not a member of the ${orgTeam} team`)
68-
// If some other error occured, output a warning
68+
// If some other error occurred, output a warning
6969
} else {
7070
core.warning(`error checking org team membership: ${error}`)
7171
}

0 commit comments

Comments
 (0)