Skip to content

Commit bdc4495

Browse files
timea-solidCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b1d4405 commit bdc4495

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/acl/access-groups.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ export class AccessGroups {
260260
} else if (!agent) {
261261
const detectedTypes = Object.keys(this.store.findTypeURIs(thing))
262262
const typeDetails = detectedTypes.length > 0
263-
? ` Detected RDF types: ${detectedTypes.join(', ')}`
264-
: ' No RDF type was detected for this URI.'
263+
? `Detected RDF types: ${detectedTypes.join(', ')}`
264+
: 'No RDF type was detected for this URI.'
265265
const error =
266266
`Error: Failed to add access target: ${uri} is not a recognized ACL target type.` +
267267
` Expected one of: vcard:WebID, vcard:Group, foaf:Person/foaf:Agent, solid:AppProvider, solid:AppProviderClass, or recognized ACL classes.` +

0 commit comments

Comments
 (0)