This commit is contained in:
syuilo 2019-04-29 11:00:41 +09:00
parent cd2de7f893
commit 624ee76e71
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

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