Fix gulp tasks: eslint and flow error on Windows
This commit is contained in:
jddxf
2016-11-10 00:51:02 +08:00
committed by Dan Abramov
parent 3668a2e678
commit 8267e1152e
2 changed files with 2 additions and 4 deletions

View File

@@ -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 File

@@ -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',
'.',
],