fix(resource-loader): check for @sf-run scopes instead of @gsd

Function hasMissingWorkspaceScopes() was checking for @gsd directories
but its comment and usage indicated it should check for @sf-run scopes.
Update the check to match the renamed scope.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ace-pm 2026-04-15 15:04:11 +02:00
parent 291cad9f7b
commit 6164a3f0ce

View file

@ -324,7 +324,7 @@ function hasMissingWorkspaceScopes(hoisted: string, internal: string): boolean {
if (!existsSync(internal)) return false
try {
for (const entry of readdirSync(internal, { withFileTypes: true })) {
if (entry.isDirectory() && entry.name.startsWith('@gsd') &&
if (entry.isDirectory() && entry.name.startsWith('@sf-run') &&
!existsSync(join(hoisted, entry.name))) {
return true
}