remove unneeded check

pull/3583/head
Joseph Izang 2 years ago committed by Aniket
parent 43e7cf6480
commit eec6517d50
  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