This commit is contained in:
syuilo 2019-04-29 11:00:41 +09:00
parent 3e8adac65f
commit da4f41da19

View file

@ -445,7 +445,7 @@ export class AiScript {
}
if (AiScript.envVarsDef[name]) {
return this.envVars[name].value;
return this.envVars[name];
}
throw new Error(`Script: No such variable '${name}'`);