diff --git a/layout.html b/layout.html index 424adc67901..601e33be959 100644 --- a/layout.html +++ b/layout.html @@ -1,4 +1,4 @@ - + diff --git a/src/lib/templates/function-error.html b/src/lib/templates/function-error.html index 80a3cf3dcd5..479e8b13deb 100644 --- a/src/lib/templates/function-error.html +++ b/src/lib/templates/function-error.html @@ -1,4 +1,4 @@ - + @@ -18,18 +18,8 @@ body { background-color: var(--colorBgApp); - font-family: - system-ui, - -apple-system, - BlinkMacSystemFont, - 'Segoe UI', - Roboto, - Helvetica, - Arial, - sans-serif, - 'Apple Color Emoji', - 'Segoe UI Emoji', - 'Segoe UI Symbol'; + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, + 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; color: var(--colorDefaultTextColor); margin: 0; line-height: 1.5; @@ -63,10 +53,7 @@ section.card { border-radius: 0.5rem; background: var(--colorBgCard); - box-shadow: - rgb(6 11 16 / 20%) 0px 16px 24px, - rgb(6 11 16 / 30%) 0px 6px 30px, - rgb(6 11 16 / 40%) 0px 8px 10px; + box-shadow: rgb(6 11 16 / 20%) 0px 16px 24px, rgb(6 11 16 / 30%) 0px 6px 30px, rgb(6 11 16 / 40%) 0px 8px 10px; border-top-width: 0.5rem; border-top-style: solid; border-top-color: var(--colorError); diff --git a/src/utils/command-helpers.ts b/src/utils/command-helpers.ts index c46e9a9a7df..1d5261d9eb4 100644 --- a/src/utils/command-helpers.ts +++ b/src/utils/command-helpers.ts @@ -200,9 +200,9 @@ export const error = (message: unknown | Error | string = '', options: { exit?: message instanceof Error ? message : // eslint-disable-next-line unicorn/no-nested-ternary - typeof message === 'string' - ? new Error(message) - : { message, stack: undefined, name: 'Error' } + typeof message === 'string' + ? new Error(message) + : { message, stack: undefined, name: 'Error' } if (options.exit === false) { const bang = chalk.red(BANG)