Skip to content

Commit 394d86b

Browse files
committed
fix: object is already a function
1 parent 42ea5a1 commit 394d86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/src/core/config/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ const options = object(
269269
register: boolean(true),
270270
// options could be undefined but if it is defined we only validate that
271271
// it's an object since the type comes from the browser itself
272-
options: validate(undefined, () => object({}, true)),
272+
options: validate(undefined, object({}, true)),
273273
files: fun((filename) => !/\.DS_Store/.test(filename))
274274
}),
275275

0 commit comments

Comments
 (0)