Skip to content

Commit 7c639f1

Browse files
committedApr 27, 2021
runConfig: bail early if no config file found
1 parent b1e925d commit 7c639f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/config.mjs

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ export const runConfig = async (args = {}) => {
2424
args.silent,
2525
)
2626

27+
if (!conf.CONFIG_FILE_PATH) {
28+
return
29+
}
30+
2731
const { default: imported } = await import(conf.CONFIG_FILE_PATH)
2832

2933
conf = deep.merge(conf, imported)

0 commit comments

Comments
 (0)
Please sign in to comment.