chore: lint

This commit is contained in:
coderiaser 2024-10-27 12:04:35 +02:00
parent ac9abbd385
commit 7309ceff37
3 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@
},
"match": {
"base64": {
"convert-typeof-to-is-type": "off"
"types/convert-typeof-to-is-type": "off"
},
"*.md": {
"nodejs/convert-commonjs-to-esm": "on"

View file

@ -8,7 +8,7 @@
"funding": "https://opencollective.com/cloudcmd",
"repository": {
"type": "git",
"url": "git://github.com/coderaiser/cloudcmd.git"
"url": "git+https://github.com/coderaiser/cloudcmd.git"
},
"main": "server/cloudcmd.mjs",
"keywords": [

View file

@ -79,11 +79,11 @@ async function onGET({req, res, menuName, readFile}) {
function getError(error, source) {
return montag`
const e = Error(\`<pre>${codeframe({
error,
source,
highlightCode: false,
})}</pre>\`);
const e = Error(\`<pre>${codeframe({
error,
source,
highlightCode: false,
})}</pre>\`);
e.code = 'frame';