Skip to content

Commit

Permalink
run prettier on the pipeline output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Aug 14, 2024
1 parent c038e81 commit 95a57cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nf_core/pipelines/create/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,7 @@ def render_template(self) -> None:
run_prettier_on_file(self.outdir / config_fn)

# Run prettier on files
for file in self.outdir.iterdir():
if file.is_file() and file.name.endswith(("yaml", "yml", "json")):
run_prettier_on_file(file)
run_prettier_on_file(self.outdir)

def fix_linting(self):
"""
Expand Down

0 comments on commit 95a57cf

Please sign in to comment.