chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2023-07-09 09:51:29 +00:00
parent 7aacf203a0
commit 6b9d43e9ab
16 changed files with 28 additions and 9 deletions

View file

@ -71,6 +71,7 @@ function getPathLink(url, prefix, template) {
'/',
...names,
];
const lines = [];
const n = allNames.length;

View file

@ -43,9 +43,11 @@ test('cloudfunc: buildFromJSON: ..', (t) => {
const $ = cheerio.load(html);
const el = $('[data-name="js-file-Li4="]');
const result = el
.find('[data-name="js-name"]')
.text();
const expected = '..';
t.equal(result, expected);