Skip to content

Commit 352a12f

Browse files
committed
maint : fix lint
1 parent 4e790d4 commit 352a12f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export async function run(): Promise<void> {
1111
const labelName = core.getInput('label_name', {required: true})
1212
const labelColor = core.getInput('label_color', {required: true})
1313
const loginsToIgnore = core.getInput('logins_to_ignore', {required: false})
14-
const failIfMember = core.getInput('fail_if_member', { required: false }) || 'false'
14+
const failIfMember =
15+
core.getInput('fail_if_member', {required: false}) || 'false'
1516
const orgs = getOrgMembershipList()
1617
const token = core.getInput('token', {required: true})
1718

@@ -22,13 +23,14 @@ export async function run(): Promise<void> {
2223
return
2324
}
2425

25-
// prettier-ignore
2626
if (
2727
(await client.checkOrgMembership(orgs)) ||
2828
client.isExcludedLogin(loginsToIgnore)
2929
) {
3030
if (failIfMember && !client.hasLabel(labelName)) {
31-
core.setFailed('The PR does not have any labels, please add the labels!')
31+
core.setFailed(
32+
'The PR does not have any labels, please add the labels!'
33+
)
3234
} else {
3335
core.info("Looks like this issue doesn't need labeling! 👍")
3436
}

0 commit comments

Comments
 (0)