Unbreak fatal

This commit is contained in:
Christopher Chedeau 2015-04-09 09:32:07 -07:00
parent caa89c36f0
commit dddf121b64
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ function getFlowTypeCheckMiddleware(options) {
}
function doFlowTypecheck(res, flowroot, next) {
// vjeux: big hack to make it work on the sample app because we don't generate a
// .flowconfig in the init script right now.
return next();
var flowCmd = 'cd "' + flowroot + '" && flow --json --timeout 20';
var start = Date.now();
console.log('flow: Running static typechecks.');