diff --git a/libs/remix-ui/solidity-compiler/src/lib/logic/flattenerUtilities.ts b/libs/remix-ui/solidity-compiler/src/lib/logic/flattenerUtilities.ts index 607f3ac2df..b95718c782 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/logic/flattenerUtilities.ts +++ b/libs/remix-ui/solidity-compiler/src/lib/logic/flattenerUtilities.ts @@ -23,7 +23,6 @@ export function concatSourceFiles(files: any[], sources: any) { function _traverse(graph, visited, ast, name) { let currentAst = null - if(ast[name] === null || ast[name] === undefined || ast[name] === 'undefined') return currentAst = ast[name].ast const dependencies = _getDependencies(currentAst); for (const dependency of dependencies) {