From 1f0f3a2b0b5f7a40df29f4117c307073b3ba8c5a Mon Sep 17 00:00:00 2001 From: Max Thomson Date: Thu, 16 Nov 2023 21:45:13 -0800 Subject: [PATCH] Prettier --- src/utils/url.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/url.ts b/src/utils/url.ts index fc8b2c9..7c66172 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -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): { name: string;