diff --git a/.putout.json b/.putout.json index dcaac97f..99e64ec8 100644 --- a/.putout.json +++ b/.putout.json @@ -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" diff --git a/package.json b/package.json index 8b9264e5..aa75100a 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/server/user-menu.mjs b/server/user-menu.mjs index 1265e896..ead1b3e3 100644 --- a/server/user-menu.mjs +++ b/server/user-menu.mjs @@ -79,11 +79,11 @@ async function onGET({req, res, menuName, readFile}) { function getError(error, source) { return montag` - const e = Error(\`
${codeframe({
- error,
- source,
- highlightCode: false,
- })}\`);
+ const e = Error(\`${codeframe({
+ error,
+ source,
+ highlightCode: false,
+ })}\`);
e.code = 'frame';