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:
parent
291cad9f7b
commit
6164a3f0ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue