fix(system): Add condition to prevent remote script reload when syncOnly is enabled (#1198)

pull/1199/head
Mufeed Ali 2025-01-04 11:32:49 +05:30 committed by GitHub
parent e94c4843b4
commit f801fd263b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ export function systemSyscalls(
"system.loadSpaceScripts": async () => { "system.loadSpaceScripts": async () => {
// Reload scripts locally // Reload scripts locally
await commonSystem.loadSpaceScripts(); await commonSystem.loadSpaceScripts();
if (client) { if (client && !globalThis.silverBulletConfig.syncOnly) {
// Reload scripts remotely // Reload scripts remotely
await proxySyscall( await proxySyscall(
{}, {},