Skip to content

Wrapping strings in single-quotes should not turn can't into cant, which is a distinct word with a different meaning.  #91

@TallTed

Description

@TallTed

Originally posted by @TallTed in #88 (comment)

Wrapping things in single-quotes should not turn can't into cant, which is a distinct word with a different meaning.

https://github.com/SolidOS/contacts-pane/blob/ae1819676bb19a2b0cc7a02b4417c96751ff5297/groupMembershipControl.js#L90C101-L90C101

Either the enclosed apostrophe should be escaped, or it should be rephrased, as here --

        // throw new Error('findBookFromGroups: Cannot find address book which this group is part of')

I know this is now commented out, but as long as it's retained in the code, it should be as correct as possible.

Also, there are multiple instances of similar in this repository. I've left the exercise of searching and fixing all cousin repositories to the reader.

Best fix is to change all cant (and can't) to cannot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions