Fix gulp tasks: eslint and flow error on Windows
This commit is contained in:
jddxf authored and Dan Abramov committed 2016-11-09 16:51:02 +00:00
1 parent 3668a2e678
commit 8267e1152e
2 files changed
+2 -4

No files matched your search

+1 -2
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),
'.',
],
{
+1 -2
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',
'.',
],