mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: lint
This commit is contained in:
parent
e99d084728
commit
af77eeed8d
14 changed files with 143 additions and 91 deletions
|
|
@ -74,10 +74,10 @@ async function onGET({req, res, menuName, readFile}) {
|
|||
function getError(error, source) {
|
||||
return montag`
|
||||
const e = Error(\`<pre>${codeframe({
|
||||
error,
|
||||
source,
|
||||
highlightCode: false,
|
||||
})}</pre>\`);
|
||||
error,
|
||||
source,
|
||||
highlightCode: false,
|
||||
})}</pre>\`);
|
||||
|
||||
e.code = 'frame';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue