File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- name : autofix.ci # needed to securely identify the workflow
1
+ name : autofix.ci # needed to securely identify the workflow
2
2
3
3
on :
4
4
pull_request :
5
5
push :
6
- branches : [ "main" ]
6
+ branches : ["main"]
7
7
8
8
permissions :
9
9
contents : read
23
23
run : pnpm run lint:fix
24
24
- uses : autofix-ci/action@bee19d72e71787c12ca0f29de72f2833e437e4c9
25
25
with :
26
- commit-message : ' chore: apply automated lint fixes'
26
+ commit-message : " chore: apply automated lint fixes"
Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ export type PromptOptions =
40
40
type inferPromptReturnType < T extends PromptOptions > = T extends TextOptions
41
41
? string
42
42
: T extends ConfirmOptions
43
- ? boolean
44
- : T extends SelectOptions
45
- ? T [ "options" ] [ number ]
46
- : T extends MultiSelectOptions
47
- ? T [ "options" ]
48
- : unknown ;
43
+ ? boolean
44
+ : T extends SelectOptions
45
+ ? T [ "options" ] [ number ]
46
+ : T extends MultiSelectOptions
47
+ ? T [ "options" ]
48
+ : unknown ;
49
49
50
50
export async function prompt <
51
51
_ = any ,
Original file line number Diff line number Diff line change @@ -284,8 +284,8 @@ export function box(text: string, _opts: BoxOpts = {}) {
284
284
opts . style . valign === "center"
285
285
? Math . floor ( ( height - textLines . length ) / 2 )
286
286
: opts . style . valign === "top" // eslint-disable-line unicorn/no-nested-ternary
287
- ? height - textLines . length - paddingOffset
288
- : height - textLines . length ;
287
+ ? height - textLines . length - paddingOffset
288
+ : height - textLines . length ;
289
289
290
290
for ( let i = 0 ; i < height ; i ++ ) {
291
291
if ( i < valignOffset || i >= valignOffset + textLines . length ) {
You can’t perform that action at this time.
0 commit comments