Skip to content

Commit

Permalink
dont compile _fake_.json (#23613)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantyng-amp authored and zhouyx committed Aug 1, 2019
1 parent aa2024c commit 5556875
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-system/tasks/vendor-configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ async function vendorConfigs() {
function compileVendorConfigs(opt_options) {
const options = opt_options || {};

const srcPath = 'extensions/amp-analytics/0.1/vendors/*.json';
const srcPath = [
'extensions/amp-analytics/0.1/vendors/*.json',
'!extensions/amp-analytics/0.1/vendors/_fake_.json', // ignore test json
];
const destPath = 'dist/v0/analytics-vendors/';

if (options.watch) {
Expand Down

0 comments on commit 5556875

Please sign in to comment.