Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored and github-actions[bot] committed Nov 22, 2024
1 parent e0c4a84 commit 3e28a94
Show file tree
Hide file tree
Showing 4 changed files with 3,345 additions and 3,075 deletions.
6 changes: 5 additions & 1 deletion packages/core/test/mock-writable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ export class MockWritable extends Writable {
public buffer: string[] = [];

// biome-ignore lint/suspicious/noExplicitAny: any is the official type
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null | undefined) => void): void {
_write(
chunk: any,
encoding: BufferEncoding,
callback: (error?: Error | null | undefined) => void
): void {
this.buffer.push(chunk.toString());
callback();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/test/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('utils', () => {
block({ input, output });
// @ts-ignore
const spy = vi.spyOn(process, 'exit').mockImplementation(() => {
return
return;
});

const event: Key = {
Expand Down
2 changes: 1 addition & 1 deletion packages/prompts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
SelectKeyPrompt,
SelectPrompt,
State,
TextPrompt,
TextPrompt
} from '@clack/core';
import isUnicodeSupported from 'is-unicode-supported';
import color from 'picocolors';
Expand Down
Loading

0 comments on commit 3e28a94

Please sign in to comment.