mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-12 01:01:25 +09:00
Fix bug
This commit is contained in:
parent
cd2de7f893
commit
624ee76e71
@ -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}'`);
|
||||
|
Loading…
Reference in New Issue
Block a user