Skip to content

Commit 469ae1f

Browse files
committed
temporarily disable flow check in packager while we figure out versioning issues.
cc @gabelevi, @bhosmer
1 parent 3383d1c commit 469ae1f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packager/getFlowTypeCheckMiddleware.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ var exec = require('child_process').exec;
1313
var Activity = require('./react-packager/src/Activity');
1414

1515
var hasWarned = {};
16+
var DISABLE_FLOW_CHECK = true; // temporarily disable while we figure out versioning issues.
1617

1718
function getFlowTypeCheckMiddleware(options) {
1819
return function(req, res, next) {
1920
var isBundle = req.url.indexOf('.bundle') !== -1;
20-
if (options.skipflow || !isBundle) {
21+
if (DISABLE_FLOW_CHECK || options.skipflow || !isBundle) {
2122
return next();
2223
}
2324
if (options.flowroot || options.projectRoots.length === 1) {

0 commit comments

Comments
 (0)