Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix gulp tasks: eslint and flow error on Windows
  • Loading branch information
jddxf authored and gaearon committed Nov 9, 2016
1 parent 3668a2e commit 8267e11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions gulp/tasks/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ module.exports = function(gulp, plugins) {

return function(done) {
spawn(
process.execPath,
path.join('node_modules', '.bin', 'eslint' + extension),
[
path.join('node_modules', '.bin', 'eslint' + extension),
'.',
],
{
Expand Down
3 changes: 1 addition & 2 deletions gulp/tasks/flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ module.exports = function(gulp, plugins) {

return function(done) {
spawn(
process.execPath,
path.join('node_modules', '.bin', 'flow' + extension),
[
path.join('node_modules', '.bin', 'flow' + extension),
'check',
'.',
],
Expand Down

0 comments on commit 8267e11

Please sign in to comment.