Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Feb 19, 2022
1 parent 51b26ad commit cded36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/utils/base.ts
Expand Up @@ -55,7 +55,7 @@ export function clone<T>(val: T): T {
export function toArray<T>(array?: Nullable<Arrayable<T>>): Array<T> {
if (array === null || array === undefined)
array = []

if (Array.isArray(array))
return array

Expand Down

0 comments on commit cded36b

Please sign in to comment.