Skip to content

Commit 31ba3d7

Browse files
committed
Fix optional chaining in exploreConfig function
1 parent 532921e commit 31ba3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/explore-config/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function exploreConfig(name: string, options: ExploreConfigOption
3434
if (config) break
3535
}
3636
if (!config) config = configModule
37-
options?.found(foundBasename, foundConfigPath)
37+
options?.found?.(foundBasename, foundConfigPath)
3838
}
3939
return config
4040
}

0 commit comments

Comments
 (0)