Skip to content

Commit 7331bfd

Browse files
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4db06a8 commit 7331bfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Common.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ function filterDFG!(nodes, predicate::Function, by::typeof(getLabel))
131131
# TODO this is not as clean as it should be, revisit if any issues arise
132132
# Standard predicates that needs to be converted to string to work with Symbols
133133
# OR look for the type if predicate isa Base.Fix2 && (predicate.x isa AbstractString || predicate.x isa Regex)
134-
if predicate isa Base.Fix2 && typeof(predicate.f) in [typeof(contains), typeof(startswith), typeof(endswith)]
134+
if predicate isa Base.Fix2 &&
135+
typeof(predicate.f) in [typeof(contains), typeof(startswith), typeof(endswith)]
135136
return filter!(predicate string by, nodes)
136137
else
137138
return filter!(predicate by, nodes)

src/services/AbstractDFG.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,6 @@ Related
10991099
"""
11001100
function findShortestPathDijkstra end
11011101

1102-
11031102
#TODO deprecate
11041103
"""
11051104
$SIGNATURES

0 commit comments

Comments
 (0)