Skip to content

Commit

Permalink
🏗 Bento output name, bento-css test target (#36366)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorozco committed Oct 14, 2021
1 parent 759e265 commit 596fe2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build-system/pr-check/build-targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const targetMatchers = {
file == 'build-system/tasks/ava.js' ||
file.startsWith('build-system/release-tagger/') ||
file.startsWith('build-system/server/') ||
file.startsWith('build-system/tasks/css/') ||
file.startsWith('build-system/tasks/get-zindex/') ||
file.startsWith('build-system/tasks/make-extension/') ||
file.startsWith('build-system/tasks/markdown-toc/') ||
Expand Down
2 changes: 1 addition & 1 deletion build-system/tasks/bento-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @return {string}
*/
function getBentoName(name) {
return `bento-${name.replace(/^amp-/, '')}`;
return name.replace(/^amp-/, 'bento-');
}

module.exports = {getBentoName};

0 comments on commit 596fe2d

Please sign in to comment.