Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
MNThomson committed Nov 17, 2023
1 parent c872114 commit 1f0f3a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
const nameRegex = new RegExp(
"^[a-z\\d]+([._-][a-z\\d]+)*(/[a-z\\d]+([._-][a-z\\d]+)*)*$"
);
const referenceRegex = new RegExp(
"^(sha256:)?(\\w[\\w.-]{0,127})$"
);
const referenceRegex = new RegExp("^(sha256:)?(\\w[\\w.-]{0,127})$");

function parseParams(params: Record<string, string | string[]>): {
name: string;
Expand Down

0 comments on commit 1f0f3a2

Please sign in to comment.