Skip to content

Commit

Permalink
style: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Dec 16, 2022
1 parent 6a3b568 commit 5eed1d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion action/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import github from '@actions/github'
// modules
import main from './lib/index.js'

// exit early
// exit early
if (!['pull_request_target', 'pull_request'].includes(github.context.eventName)) {
core.error('action triggered outside of a pull_request')
process.exit(1)
Expand Down
2 changes: 2 additions & 0 deletions action/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable camelcase */

// packages
import github from '@actions/github'

Expand Down
2 changes: 2 additions & 0 deletions action/test/parse/match-target.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable camelcase */

// packages
import tap from 'tap'
import sinon from 'sinon'
Expand Down

0 comments on commit 5eed1d3

Please sign in to comment.