We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05a393 commit db1ea86Copy full SHA for db1ea86
src/serialize.ts
@@ -10,7 +10,7 @@ export const serializeConfig = (obj: unknown): string => {
10
}
11
12
// Run recursively on objects and arrays
13
- if (typeof obj === 'object') {
+ if (typeof obj === 'object' && obj !== null) {
14
if (Array.isArray(obj)) {
15
return `[${obj.map(serializeConfig).join(', ')}]`
16
} else if (obj === null) {
0 commit comments