Skip to content

Commit

Permalink
temporarily disable flow check in packager while we figure out versio…
Browse files Browse the repository at this point in the history
…ning issues.

cc @gabelevi, @bhosmer
  • Loading branch information
sahrens committed Apr 27, 2015
1 parent 3383d1c commit 469ae1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packager/getFlowTypeCheckMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ var exec = require('child_process').exec;
var Activity = require('./react-packager/src/Activity');

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

function getFlowTypeCheckMiddleware(options) {
return function(req, res, next) {
var isBundle = req.url.indexOf('.bundle') !== -1;
if (options.skipflow || !isBundle) {
if (DISABLE_FLOW_CHECK || options.skipflow || !isBundle) {
return next();
}
if (options.flowroot || options.projectRoots.length === 1) {
Expand Down

0 comments on commit 469ae1f

Please sign in to comment.