Skip to content

Commit 9017b56

Browse files
authored
chore: Streamline cast_to() into correct type (#864)
1 parent 4366a73 commit 9017b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pre_commit_terraform/terraform_docs_replace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType:
7878
'>',
7979
'./{dir}/{dest}'.format(
8080
dir=dir,
81-
dest=cast_to('bool', parsed_cli_args.dest),
81+
dest=cast_to('str', parsed_cli_args.dest),
8282
),
8383
),
8484
)

0 commit comments

Comments
 (0)