Skip to content

Commit 5969230

Browse files
joeizangAniket-Engg
authored andcommitted
fix bug where flattened sol file is in wrong order
1 parent 5dd968b commit 5969230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-ui/solidity-compiler/src/lib/logic/flattenerUtilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function _traverse(graph, visited, ast, name) {
2828
for (const dependency of dependencies) {
2929
const path = resolve(name, dependency);
3030
if (path in visited) {
31-
continue;
31+
//continue; //fix wrong ordering of source code in flattened file.
3232
}
3333
visited[path] = 1;
3434
graph.add(name, path);

0 commit comments

Comments
 (0)