Skip to content

Commit 1f0e927

Browse files
committed
CONT-1219 : Addressing PR comments
1 parent 3de37a7 commit 1f0e927

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,15 @@ export async function run(): Promise<void> {
2323
client.isExcludedLogin(loginsToIgnore)
2424
) {
2525
if (failIfMember === 'true' && !labels) {
26-
core.setFailed(
27-
'The PR is missing a label!'
28-
)
26+
core.setFailed('The PR is missing a label!')
2927
} else {
3028
core.info("Looks like this issue doesn't need labeling! 👍")
3129
}
3230
return
3331
}
3432

3533
if (missingCommunityLabel) {
36-
core.setFailed(
37-
'Community PR must have a label name community'
38-
)
34+
core.setFailed('Community PR must have a label name community')
3935
return
4036
}
4137

0 commit comments

Comments
 (0)