Skip to content

Commit

Permalink
test: Expand to catch any endsWith
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 27, 2024
1 parent a5e29aa commit c9af6bb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/scripts/get_module_path.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ function get_module_names(filter_modules_files) {
.split("/")
.slice(0, 2)
.filter(
(x) => !x.startsWith("main.nf") && x !== "tests" && x !== "meta.yml" && x !== "environment.yml"
(x) =>
!x.startsWith("main.nf") &&
x !== "tests" &&
x !== "meta.yml" &&
x !== "environment.yml" &&
!x.endsWith(".snap") &&
!x.endsWith(".config")
)
.join("/")
)
Expand Down

0 comments on commit c9af6bb

Please sign in to comment.