command start and end injector

pull/310/head
Frostebite 2021-12-29 16:51:04 +00:00
parent 2022984549
commit 287fc3f8ac
3 changed files with 7 additions and 3 deletions

6
dist/index.js vendored
View File

@ -3549,11 +3549,13 @@ class Input {
: process.env[query
.replace(/([A-Z])/g, ' $1')
.trim()
.toUpperCase()] !== undefined
.toUpperCase()
.replace(/ /g, '_')] !== undefined
? process.env[query
.replace(/([A-Z])/g, ' $1')
.trim()
.toUpperCase()]
.toUpperCase()
.replace(/ /g, '_')]
: false;
}
static get region() {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -27,12 +27,14 @@ class Input {
.replace(/([A-Z])/g, ' $1')
.trim()
.toUpperCase()
.replace(/ /g, '_')
] !== undefined
? process.env[
query
.replace(/([A-Z])/g, ' $1')
.trim()
.toUpperCase()
.replace(/ /g, '_')
]
: false;
}