From 18cf6ccad64259cb45482ddbfe89569542166f43 Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Wed, 28 Dec 2022 17:06:49 +0200 Subject: [PATCH] Bugfix to GitHub Action implementation --- action/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/main.py b/action/main.py index ee7c17821..1a0569194 100644 --- a/action/main.py +++ b/action/main.py @@ -25,7 +25,7 @@ if VERSION.startswith("@"): req[0] = f"git+https://github.com/akaihola/darker{VERSION}#egg={req[0]}" elif VERSION.startswith(("~", "=", "<", ">")): - req[1] += VERSION + req[0] += VERSION else: req[0] += f"=={VERSION}" linter_options = []