Skip to content

Commit

Permalink
cylc review show any .cylc file with synatax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim authored and MetRonnie committed Oct 4, 2021
1 parent 935a1b2 commit 5ef4419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cylc/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ def get_file(self, user, suite, path, path_in_tar=None, mode=None):
break
if (
fnmatch(os.path.basename(path), "suite*.rc*")
or fnmatch(os.path.basename(path), "flow.cylc*")
or fnmatch(os.path.basename(path), "*.cylc")
):
file_content = "cylc-suite-rc"
elif fnmatch(os.path.basename(path), "rose*.conf"):
Expand Down

0 comments on commit 5ef4419

Please sign in to comment.