summaryrefslogtreecommitdiff
path: root/patternutils/commands/targs.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--patternutils/commands/targs.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/patternutils/commands/targs.py b/patternutils/commands/targs.py
index 4c9e670..4ec9a17 100644
--- a/patternutils/commands/targs.py
+++ b/patternutils/commands/targs.py
@@ -11,13 +11,7 @@ import click
from .. import config, template, utils
-def run_command(
- data: Dict[str, str],
- render: Callable[..., str],
- run: Callable[..., None],
- shell: bool,
-) -> None:
- c = render(**data)
+def run_command(data: Dict[str, str], run: Callable[..., None], shell: bool,) -> None:
if not shell:
prepared_command = shlex.split(c) # type: Union[str, List[str]]
else: