Skip to content

Commit

Permalink
Reorg fixci (Azure#1395)
Browse files Browse the repository at this point in the history
* Fix selection of swagger

* Fixing `
  • Loading branch information
vishrutshah authored Jul 10, 2017
1 parent bd19e52 commit 2fb9a0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/util/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -225,4 +225,4 @@ exports.initializeValidator = function initializeValidator(callback) {
});
});
});
};
};

0 comments on commit 2fb9a0b

Please sign in to comment.