@samitouri / QOS-React / commits / 8267e1152e

#8021 (#8241)

Fix gulp tasks: eslint and flow error on Windows

jddxf committed Nov 10, 2016 at 00:51 UTC 8267e1152efc94d3f2bdbe08080d05e7fde5069e
2 files changed +2 -4
gulp/tasks/eslint.js
+1 -2
@@ -19,9 +19,8 @@ module.exports = function(gulp, plugins) {
19
20 return function(done) {
21 spawn(
22 - process.execPath,
22 + path.join('node_modules', '.bin', 'eslint' + extension),
23 [
24 - path.join('node_modules', '.bin', 'eslint' + extension),
24 '.',
25 ],
26 {
gulp/tasks/flow.js
+1 -2
@@ -19,9 +19,8 @@ module.exports = function(gulp, plugins) {
19
20 return function(done) {
21 spawn(
22 - process.execPath,
22 + path.join('node_modules', '.bin', 'flow' + extension),
23 [
24 - path.join('node_modules', '.bin', 'flow' + extension),
24 'check',
25 '.',
26 ],