Skip to content

Commit 4afd534

Browse files
committed
Convert path to str
1 parent 80e5021 commit 4afd534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detection_rules/devtools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def dev_group():
114114
@click.pass_context
115115
def build_release(
116116
ctx: click.Context,
117-
config_file: Path | None,
117+
config_file: Path,
118118
update_version_lock: bool,
119119
generate_navigator: bool,
120120
generate_docs: str,
@@ -130,7 +130,7 @@ def build_release(
130130
)
131131
ctx.exit()
132132

133-
config = load_dump(config_file)["package"]
133+
config = load_dump(str(config_file))["package"]
134134

135135
package_path = get_etc_path(["package.yaml"])
136136
err_msg = (

0 commit comments

Comments
 (0)