Skip to content

Commit 0d2df52

Browse files
authored
style(utils): remove null check (#16112)
1 parent eef9da1 commit 0d2df52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ function mergeConfigRecursively(
11001100
}
11011101

11021102
if (Array.isArray(existing) || Array.isArray(value)) {
1103-
merged[key] = [...arraify(existing ?? []), ...arraify(value ?? [])]
1103+
merged[key] = [...arraify(existing), ...arraify(value)]
11041104
continue
11051105
}
11061106
if (isObject(existing) && isObject(value)) {

0 commit comments

Comments
 (0)