fix: reduce global eslint warnings (#216)

This commit is contained in:
Eyejoker
2026-06-03 08:30:21 +08:00
committed by GitHub
parent 63a4515241
commit 22602da1ec
7 changed files with 11 additions and 7 deletions

View File

@@ -99,7 +99,9 @@ export function restartStackServices(
throw error;
}
if (managedServiceCaller) {
throw new Error(MANAGED_SERVICE_CALLER_FALLBACK_MESSAGE);
throw new Error(MANAGED_SERVICE_CALLER_FALLBACK_MESSAGE, {
cause: error,
});
}
return restartStackServicesDirect(projectRoot, deps);