Skip to content

Commit 61d0c02

Browse files
committed
up
1 parent d0bccb9 commit 61d0c02

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/cli/test/doctor.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ describe('runDoctor', () => {
142142
}) as typeof process.stdout.write)
143143
vi.spyOn(process.stderr, 'write').mockImplementation(() => true)
144144

145-
const run = typeof doctor.run === 'function' ? doctor.run : await doctor.run
146-
await run!({
145+
await doctor.run!({
147146
args: { json: true, noHeader: true, cwd, debug: false },
148147
rawArgs: [],
149148
cmd: doctor,

0 commit comments

Comments
 (0)