Skip to content

Commit

Permalink
PB Fixes (#990)
Browse files Browse the repository at this point in the history
* fixes

* add default path instead
  • Loading branch information
CTY-git authored Nov 1, 2024
1 parent 4af4c6c commit bbae0ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion patchwork/steps/JoinList/JoinList.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, inputs):
self.list = inputs["list"]
self.delimiter = inputs["delimiter"]
self.possible_keys = ["body", "text"]
if inputs.get("keys") is not None:
if inputs.get("key") is not None:
self.possible_keys.insert(0, inputs.get("key"))

def run(self):
Expand Down
3 changes: 1 addition & 2 deletions patchwork/steps/PR/PR.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def __handle_modified_code_files(self):
return

key_map = dict()
if self.inputs.get("path_key"):
key_map[self.inputs["path"]] = self.inputs["path_key"]
key_map["path"] = self.inputs.get("path_key", "path")
if self.inputs.get("comment_title_key") is not None:
key_map["commit_message"] = self.inputs["comment_title_key"]
if self.inputs.get("comment_message_key") is not None:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "patchwork-cli"
version = "0.0.74"
version = "0.0.75"
description = ""
authors = ["patched.codes"]
license = "AGPL"
Expand Down

0 comments on commit bbae0ec

Please sign in to comment.