mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
Wrong capitalisation on process.env
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -38,7 +38,7 @@ function print(...content) {
|
|||||||
|
|
||||||
async function getEditor(argsEditor) {
|
async function getEditor(argsEditor) {
|
||||||
// eslint-disable-next-line
|
// 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
|
// needed for the process.env statements to not be flagged by eslint
|
||||||
// priority for editors is CLI argument > env.EDITOR > env.VISUAL
|
// priority for editors is CLI argument > env.EDITOR > env.VISUAL
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user