Skip to content

Commit

Permalink
fix(lib): Assure comp. with Node 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ta2edchimp committed Mar 19, 2016
1 parent 5a8859a commit c1205f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ function getConfigFile() {
}
}

function getConfig(configFile) {
function getConfig(file) {
var cliEngine = new eslint.CLIEngine({
// ignore any config applicable depending on the location on the filesystem
useEslintrc: false,
// point to the particular config
configFile,
configFile: file,
})
var config = cliEngine.getConfigForFile(configFile)
var config = cliEngine.getConfigForFile(file)
return config
}

Expand Down

0 comments on commit c1205f9

Please sign in to comment.