fix: correct envExpanError calculation
This commit is contained in:
committed by
liyasthomas
parent
9feabf6422
commit
6cd11fcd3a
@@ -169,10 +169,7 @@ export default defineComponent({
|
|||||||
computed: {
|
computed: {
|
||||||
evnExpandError(): boolean {
|
evnExpandError(): boolean {
|
||||||
for (const variable of this.vars) {
|
for (const variable of this.vars) {
|
||||||
const result = parseTemplateStringE(
|
const result = parseTemplateStringE(variable.value, this.vars)
|
||||||
variable.value,
|
|
||||||
this.workingEnv?.variables ?? []
|
|
||||||
)
|
|
||||||
|
|
||||||
if (E.isLeft(result)) {
|
if (E.isLeft(result)) {
|
||||||
console.error("error", result.left)
|
console.error("error", result.left)
|
||||||
|
|||||||
Reference in New Issue
Block a user