Skip to content

Commit e4995c9

Browse files
committed
chore: deps
1 parent 8033ec3 commit e4995c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"format:fix": "prettier --write .",
3939
"lint:check": "eslint .",
4040
"lint:fix": "eslint --fix .",
41-
"fix": "npm run format:fix && npm run lint:fix",
41+
"fix": "npm run format:fix && npm run lint:fix && npm run format:fix",
4242
"npm:reinstall": "rm -rf ./node_modules && rm -f ./package-lock.json && npm i && npm i"
4343
},
4444
"keywords": [

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if (files.size === 0) {
2929

3030
console.log();
3131
console.log('Translation to header file');
32-
const longestFilename = [...files.keys()].reduce((p, c) => (Math.max(c.length, p)), 0);
32+
const longestFilename = [...files.keys()].reduce((p, c) => Math.max(c.length, p), 0);
3333
for (const [originalFilename, content] of files) {
3434
const mime = lookup(originalFilename) || 'text/plain';
3535
summary.filecount++;

0 commit comments

Comments
 (0)