Wrong capitalisation on process.env

This commit is contained in:
J87 authored and GitHub committed 2021-12-07 21:38:46 +11:00
1 parent df80effbdf
commit e9225a4b2c
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ function print(...content) {
async function getEditor(argsEditor) {
// eslint-disable-next-line
return argsEditor || process.ENV.EDITOR || process.env.VISUAL || -1
return argsEditor || process.env.EDITOR || process.env.VISUAL || -1
// needed for the process.env statements to not be flagged by eslint
// priority for editors is CLI argument > env.EDITOR > env.VISUAL
}