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