mirror of
https://github.com/facebook/react.git
synced 2026-02-23 12:13:04 +00:00
@@ -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),
|
||||
'.',
|
||||
],
|
||||
{
|
||||
|
||||
@@ -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',
|
||||
'.',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user