mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Fix bug
This commit is contained in:
parent
3e8adac65f
commit
da4f41da19
@ -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}'`);
|
||||||
|
Loading…
Reference in New Issue
Block a user