Skip to content

Commit

Permalink
Add explicit loading path for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
sheck committed Nov 9, 2019
1 parent d7678af commit 73c472b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function runEslint () {
`git diff --name-only --diff-filter AM ${compareSha}`
)

const eslint = require('eslint')
const eslint = require(`${GITHUB_WORKSPACE}/node_modules/eslint`)
const cli = new eslint.CLIEngine()
const extensions = INPUT_EXTENSIONS.split(',')

Expand Down

0 comments on commit 73c472b

Please sign in to comment.