Skip to content

Commit 38dfe5c

Browse files
author
e2tha-e
committed
reversing order of find_pseudopatterns() and addPattern() in pattern_assembler
1 parent 1192071 commit 38dfe5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builder/pattern_assembler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@
148148
//find pattern lineage
149149
lineage_hunter.find_lineage(currentPattern, patternlab);
150150

151-
//look for a pseudo pattern by checking if there is a file containing same name, with ~ in it, ending in .json
152-
pseudopattern_hunter.find_pseudopatterns(currentPattern, patternlab);
153-
154151
//add to patternlab object so we can look these up later.
155152
addPattern(currentPattern, patternlab);
153+
154+
//look for a pseudo pattern by checking if there is a file containing same name, with ~ in it, ending in .json
155+
pseudopattern_hunter.find_pseudopatterns(currentPattern, patternlab);
156156
}
157157

158158
function getpatternbykey(key, patternlab){

0 commit comments

Comments
 (0)