From 2fb9a0b3b902335ff0b0033711c234431931ec9d Mon Sep 17 00:00:00 2001 From: Vishrut Shah Date: Mon, 10 Jul 2017 11:07:34 -0700 Subject: [PATCH] Reorg fixci (#1395) * Fix selection of swagger * Fixing ` --- test/util/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/util/utils.js b/test/util/utils.js index 2425d508a289..dc5f5a58fe3a 100644 --- a/test/util/utils.js +++ b/test/util/utils.js @@ -26,8 +26,8 @@ exports.isWindows = (process.platform.lastIndexOf('win') === 0); exports.prOnly = undefined !== process.env['PR_ONLY'] ? process.env['PR_ONLY'] : 'false'; exports.globPath = path.join(__dirname, '../', '../', '/specification/**/*.json'); -exports.swaggers = _(glob.sync(exports.globPath, { ignore: ['/**/examples/*.json', '/**/quickstart-templates/*.json', '/**/schema/*.json'] })); -exports.exampleGlobPath = path.join(__dirname, '../', '../', '/**/examples/*.json'); +exports.swaggers = _(glob.sync(exports.globPath, { ignore: ['**/examples/**/*.json', '**/quickstart-templates/*.json', '**/schema/*.json'] })); +exports.exampleGlobPath = path.join(__dirname, '../', '../', '/**/examples/**/*.json'); exports.examples = _(glob.sync(exports.exampleGlobPath)); // Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) @@ -225,4 +225,4 @@ exports.initializeValidator = function initializeValidator(callback) { }); }); }); -}; \ No newline at end of file +};