Skip to content

Commit

Permalink
Ensure early-access site-data-references are detected by the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene committed Nov 17, 2020
1 parent a53255c commit 88a889a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/patterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
searchPath: /\/search(?:\/)?(\?)/,
ymd: /^\d{4}-\d{2}-\d{2}$/,
hasLiquid: /[{{][{%]/,
dataReference: /{% ?data\s(?:reusables|variables|ui)\..*?%}/gm,
dataReference: /{% ?data\s(?:early-access\.)?(?:reusables|variables|ui)\..*?%}/gm,
imagePath: /\/?assets\/images\/.*?\.(png|svg|gif|pdf|ico|jpg|jpeg)/gi,
homepagePath: /^\/\w{2}$/, // /en, /ja, /cn
multipleSlashes: /^\/{2,}/,
Expand Down

0 comments on commit 88a889a

Please sign in to comment.