Skip to content

Commit 47468f1

Browse files
authored
Merge pull request #95 from sangm/master
[BUG FIX] Cannot read property `getFilename` of undefined
2 parents aaa6b8c + 6cfe369 commit 47468f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/require-ember-lifeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function mergeDisallowedCalls(objects) {
3030
}
3131

3232
function isLintableFile(context) {
33-
return LINTABLE_FILE_PATTERNS.test(context.eslint.getFilename());
33+
return LINTABLE_FILE_PATTERNS.test(context.getFilename());
3434
}
3535

3636
module.exports = {

0 commit comments

Comments
 (0)