Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Commit

Permalink
Fix eslintignore path
Browse files Browse the repository at this point in the history
  • Loading branch information
jsantell committed May 24, 2016
1 parent 90f6793 commit e25cfaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/task-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// http://creativecommons.org/publicdomain/zero/1.0/
/* eslint no-console: 0 */

import { spawn, getElectronPath } from './utils';
import path from 'path';
import { spawn, getElectronPath } from './utils';

const DEFAULT_UNIT_TESTS = path.join(__dirname, '..', 'test', 'unit');
const DEFAULT_RENDERER_TESTS = path.join(__dirname, '..', 'test', 'renderer');
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lint/test-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import path from 'path';
const valid = '*.@(js|jsx)';

// Load the ignore list
let paths = fs.readFileSync(path.join(__dirname, '..', '..', '.eslintignore'), {
let paths = fs.readFileSync(path.join(__dirname, '..', '..', '..', '.eslintignore'), {
encoding: 'utf8',
}).split('\n');

Expand Down

0 comments on commit e25cfaa

Please sign in to comment.