From d9850459830e0fbd1e70b5c21773afb8f7fd45e8 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Fri, 12 Dec 2014 16:24:53 -0800 Subject: [PATCH] fix(build): disable the analysis of third-party libs --- tools/build/dartanalyzer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/dartanalyzer.js b/tools/build/dartanalyzer.js index 9ef5cc5cd5..96a0eda952 100644 --- a/tools/build/dartanalyzer.js +++ b/tools/build/dartanalyzer.js @@ -20,7 +20,7 @@ module.exports = function(gulp, plugins, config) { })); var analyzeFile = ['library _analyzer;']; srcFiles.concat(testFiles).forEach(function(fileName, index) { - if (fileName !== tempFile) { + if (fileName !== tempFile && fileName.indexOf("/packages/") === -1) { analyzeFile.push('import "./'+fileName+'" as mod'+index+';'); } });