remove unneeded check

pull/5370/head
Joseph Izang 2 years ago committed by Aniket
parent fee74f5584
commit d9513d6c07
  1. 1
      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) {

Loading…
Cancel
Save