File tree 2 files changed +5
-29
lines changed
2 files changed +5
-29
lines changed Original file line number Diff line number Diff line change @@ -150,17 +150,7 @@ export default async function inspect(
150
150
`This Domain is not configured properly. To configure it you should either:` ,
151
151
null ,
152
152
null ,
153
- null ,
154
- {
155
- boxen : {
156
- margin : {
157
- left : 2 ,
158
- right : 0 ,
159
- bottom : 0 ,
160
- top : 0 ,
161
- } ,
162
- } ,
163
- }
153
+ null
164
154
) ;
165
155
output . print (
166
156
` ${ chalk . grey ( 'a)' ) } ` +
Original file line number Diff line number Diff line change 1
1
import chalk from 'chalk' ;
2
- import boxen from 'boxen' ;
3
2
import renderLink from './link' ;
4
3
import wait , { StopSpinner } from './wait' ;
5
4
import { Writable } from 'stream' ;
@@ -51,28 +50,15 @@ export class Output {
51
50
str : string ,
52
51
slug : string | null = null ,
53
52
link : string | null = null ,
54
- action : string | null = 'Learn More' ,
55
- options ?: {
56
- boxen ?: boxen . Options ;
57
- }
53
+ action : string | null = 'Learn More'
58
54
) => {
59
55
const details = slug ? `https://err.sh/vercel/${ slug } ` : link ;
60
56
61
57
this . print (
62
- boxen (
63
- chalk . bold . yellow ( 'WARN! ' ) +
58
+ chalk . yellow (
59
+ chalk . bold ( 'WARN! ' ) +
64
60
str +
65
- ( details ? `\n${ action } : ${ renderLink ( details ) } ` : '' ) ,
66
- {
67
- padding : {
68
- top : 0 ,
69
- bottom : 0 ,
70
- left : 1 ,
71
- right : 1 ,
72
- } ,
73
- borderColor : 'yellow' ,
74
- ...options ?. boxen ,
75
- }
61
+ ( details ? `\n${ action } : ${ renderLink ( details ) } ` : '' )
76
62
)
77
63
) ;
78
64
this . print ( '\n' ) ;
You can’t perform that action at this time.
0 commit comments