Skip to content

Commit

Permalink
Sometimes I ❤️ CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Mar 23, 2021
1 parent dcec829 commit b28dcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/modules/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def render_template(self):
fh.write(rendered_output)

# Mirror file permissions
template_stat = os.stat(template_fn)
template_stat = os.stat(os.path.join("nf_core", "module-template", template_fn))
os.chmod(dest_fn, template_stat.st_mode)

def get_repo_type(self, directory):
Expand Down

0 comments on commit b28dcaf

Please sign in to comment.