Skip to content

We do not filter out invalid repositories #19

Open
@gr2m

Description

@gr2m

this is what happens when there are no tests 🤷

const invalidRepositories = repositories.filter((fullName) => {
/^[a-z0-9_.-]+\/([a-z0-9_.-]+|\*)$/i.test(fullName);
});

What this should be is

  const invalidRepositories = repositories.filter((fullName) => !/^[a-z0-9_.-]+\/([a-z0-9_.-]+|\*)$/i.test(fullName); 

Depending on what we decide in #18 we need to adjust the regex to match the * in different places in the repository name.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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