Skip to content

Commit

Permalink
fix(tools): set empty string for js/css attribute (#3118)
Browse files Browse the repository at this point in the history
* fix(tools): set empty string for css attribute

* Update database.js
  • Loading branch information
sogehige committed Dec 19, 2019
1 parent afcf7b5 commit 6ee2fa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/database.js
Expand Up @@ -815,6 +815,8 @@ async function main() {
items = await from.find('registries.text');
items.map(o => {
o.external = o.external || [];
o.css = o.css || '';
o.js = o.js || '';
return o;
});
if (items.length > 0) {
Expand Down

0 comments on commit 6ee2fa6

Please sign in to comment.