mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore: lint
This commit is contained in:
parent
ac9abbd385
commit
7309ceff37
3 changed files with 7 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue