fix comment parser

pull/572/head
Cory LaViska 2021-10-16 10:28:51 -04:00
rodzic be662ddf32
commit 10f31efefa
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
import fs from 'fs';
import commentParser from 'comment-parser';
import { parse } from 'comment-parser';
const packageData = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
const { name, description, version, author, homepage, license } = packageData;
@ -38,7 +38,7 @@ export default {
});
});
const parsed = commentParser.parse(customComments + '\n */');
const parsed = parse(customComments + '\n */');
parsed[0].tags?.map(t => {
switch (t.tag) {
// Animations