Skip to content

Commit 5d92bbe

Browse files
committed
fix: prettier fix
1 parent f12cc40 commit 5d92bbe

File tree

3 files changed

+8
-21
lines changed

3 files changed

+8
-21
lines changed

layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

src/lib/templates/function-error.html

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
@@ -18,18 +18,8 @@
1818

1919
body {
2020
background-color: var(--colorBgApp);
21-
font-family:
22-
system-ui,
23-
-apple-system,
24-
BlinkMacSystemFont,
25-
'Segoe UI',
26-
Roboto,
27-
Helvetica,
28-
Arial,
29-
sans-serif,
30-
'Apple Color Emoji',
31-
'Segoe UI Emoji',
32-
'Segoe UI Symbol';
21+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
22+
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
3323
color: var(--colorDefaultTextColor);
3424
margin: 0;
3525
line-height: 1.5;
@@ -63,10 +53,7 @@
6353
section.card {
6454
border-radius: 0.5rem;
6555
background: var(--colorBgCard);
66-
box-shadow:
67-
rgb(6 11 16 / 20%) 0px 16px 24px,
68-
rgb(6 11 16 / 30%) 0px 6px 30px,
69-
rgb(6 11 16 / 40%) 0px 8px 10px;
56+
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;
7057
border-top-width: 0.5rem;
7158
border-top-style: solid;
7259
border-top-color: var(--colorError);

src/utils/command-helpers.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ export const error = (message: unknown | Error | string = '', options: { exit?:
200200
message instanceof Error
201201
? message
202202
: // eslint-disable-next-line unicorn/no-nested-ternary
203-
typeof message === 'string'
204-
? new Error(message)
205-
: { message, stack: undefined, name: 'Error' }
203+
typeof message === 'string'
204+
? new Error(message)
205+
: { message, stack: undefined, name: 'Error' }
206206

207207
if (options.exit === false) {
208208
const bang = chalk.red(BANG)

0 commit comments

Comments
 (0)