Skip to content

Commit

Permalink
fix: Allow for one-character domain names
Browse files Browse the repository at this point in the history
Signed-off-by: Trevor Taubitz <[email protected]>
  • Loading branch information
terrabitz committed Feb 23, 2023
1 parent 6bb4d54 commit b4722e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry_codeartifact_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from poetry.utils.authenticator import Authenticator

RE_CODEARTIFACT_NETLOC = re.compile(
r"^([a-z][a-z-]+)-(\d+)\.d\.codeartifact\.[^.]+\.amazonaws\.com$"
r"^([a-z][a-z-]*)-(\d+)\.d\.codeartifact\.[^.]+\.amazonaws\.com$"
)


Expand Down

0 comments on commit b4722e2

Please sign in to comment.