From 404c1bda0a76d80448b4287368c34c3241cb061c Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 3 Sep 2018 16:16:44 +0200 Subject: [PATCH] Remove geojson.js extern inclusion in tasks/generate-info --- tasks/generate-info.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tasks/generate-info.js b/tasks/generate-info.js index 8bf3fa2a61..a570f19e3f 100644 --- a/tasks/generate-info.js +++ b/tasks/generate-info.js @@ -5,10 +5,6 @@ const walk = require('walk').walk; const isWindows = process.platform.indexOf('win') === 0; const sourceDir = path.join(__dirname, '..', 'src'); -const externsDir = path.join(__dirname, '..', 'externs'); -const externsPaths = [ - path.join(externsDir, 'geojson.js') -]; const infoPath = path.join(__dirname, '..', 'build', 'info.json'); /** @@ -49,7 +45,7 @@ const jsdocConfig = path.join( */ function getPaths() { return new Promise((resolve, reject) => { - let paths = [].concat(externsPaths); + let paths = []; const walker = walk(sourceDir); walker.on('file', (root, stats, next) => { @@ -71,7 +67,7 @@ function getPaths() { * pass the sourceDir to the task so it can do the walking. */ if (isWindows) { - paths = [sourceDir].concat(externsPaths); + paths = [sourceDir]; } resolve(paths);