mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
chore: Throw parse error instead of continuing
This commit is contained in:
parent
853c0006ad
commit
66f3fa3986
@ -103,6 +103,12 @@ export async function getRCFile (
|
||||
}
|
||||
throw new Error(errorText)
|
||||
}
|
||||
if (e.name === 'ParseError') {
|
||||
if (verbose === true) {
|
||||
console.info(e.message);
|
||||
}
|
||||
throw new Error(e.message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user