Permalink
Browse files

#8021 (#8241)

Fix gulp tasks: eslint and flow error on Windows
  • Loading branch information...
1 parent 3668a2e commit 8267e1152efc94d3f2bdbe08080d05e7fde5069e @jddxf jddxf committed with gaearon Nov 9, 2016
Showing with 2 additions and 4 deletions.
  1. +1 −2 gulp/tasks/eslint.js
  2. +1 −2 gulp/tasks/flow.js
@@ -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),
'.',
],
{
View
@@ -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',
'.',
],

0 comments on commit 8267e11

Please sign in to comment.