diff --git a/src/EVM/Solidity.hs b/src/EVM/Solidity.hs index 19502eb5e..4e7f438dc 100644 --- a/src/EVM/Solidity.hs +++ b/src/EVM/Solidity.hs @@ -310,7 +310,7 @@ readBuildOutput root _ = do -- | Finds all json files under the provided filepath, searches recursively findJsonFiles :: FilePath -> IO [FilePath] -findJsonFiles root = filter (/= "kompiled/compiled.json") -- HACK: this gets added to `out` by `kontrol` +findJsonFiles root = filter (not . isInfixOf "kompiled") -- HACK: this gets added to `out` by `kontrol` <$> getDirectoryFiles root ["**/*.json"] -- | Filters out metadata json files