Skip to content

Commit

Permalink
Fix optional chaining in exploreConfig function
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Feb 21, 2024
1 parent 532921e commit 31ba3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/explore-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function exploreConfig(name: string, options: ExploreConfigOption
if (config) break
}
if (!config) config = configModule
options?.found(foundBasename, foundConfigPath)
options?.found?.(foundBasename, foundConfigPath)
}
return config
}

0 comments on commit 31ba3d7

Please sign in to comment.