Skip to content

Commit d42ff8c

Browse files
committed
Fix cmd config for prettier
1 parent 3cc87f9 commit d42ff8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/doblib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.20.5"
1+
VERSION = "0.20.6"

src/doblib/ci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _ci_prettier(self, options, args, paths, ignores):
174174
base.SECTION, "prettier", "config", default=".prettierrc.yml"
175175
)
176176
if os.path.isfile(config_path):
177-
cmd.append(f"--config {config_path}")
177+
cmd += ["--config", f"{config_path}"]
178178

179179
return utils.call(*cmd, *args, *files, pipe=False)
180180

0 commit comments

Comments
 (0)