Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: increase safety of findConfig (#10400)
If `@payload-config` is not set in tsconfig, findConfig could fail when performing a `path.extname` on an undefined value. Example error in this scenario: ``` TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined. ```
- Loading branch information