Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Apr 29, 2024
1 parent 07f1921 commit ab67783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions api-generator/build-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,13 @@ const createVeturAttributes = (component) => {
};

Object.keys(fileModules).forEach((p) => {
createWebTypes(fileModules[p][p]);
createVeturTags(fileModules[p][p]);
createVeturAttributes(fileModules[p][p]);
const component = fileModules[p][p];

if (component) {
createWebTypes(component);
createVeturTags(component);
createVeturAttributes(component);
}
});

!fs.existsSync(distDir) && fs.mkdirSync(distDir);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
},
content: {
highlightBackground: '{highlight.background}',
highlightBorderColor: '{highlight.color}',
highlightBorderColor: '{highlight.color}'
},
file: {
borderColor: '{surface.200}'
Expand Down

0 comments on commit ab67783

Please sign in to comment.