Skip to content

Commit 14169c0

Browse files
fix: use fsPromises ref
1 parent 89f732c commit 14169c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/env/lib/config/load-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = async function loadConfig(
5454
// If a custom config path was provided, verify the file exists.
5555
if ( customConfigPath ) {
5656
try {
57-
await fs.stat( configFilePath );
57+
await fsPromises.stat( configFilePath );
5858
} catch ( error ) {
5959
throw new ValidationError(
6060
`Config file not found: ${ configFilePath }`

0 commit comments

Comments
 (0)