Skip to content

Commit

Permalink
Fix requirements filter
Browse files Browse the repository at this point in the history
  • Loading branch information
JordonPhillips committed Mar 13, 2024
1 parent 3ad3d4b commit 5b0d489
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public final class SphinxIntegration implements DocIntegration {
private static List<String> parseRequirements(String filename) {
String requirementsFile = IoUtils.readUtf8Resource(SphinxIntegration.class, "sphinx/" + filename);
return requirementsFile.lines()
.filter(line -> line.stripLeading().startsWith("#"))
.filter(line -> !line.stripLeading().startsWith("#"))
.collect(Collectors.toList());
}

Expand Down

0 comments on commit 5b0d489

Please sign in to comment.