Skip to content

Commit 1d15590

Browse files
committed
fix: occured -> occurred
1 parent e837cad commit 1d15590

File tree

4 files changed

+39
-39
lines changed

4 files changed

+39
-39
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: 35 additions & 35 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)