Fix a bug when ast and legacyAST were not present in the artifacts even if requested
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
{
|
||||
"note": "Remove `bin_paths` and fetch the list of soliidty compilers from github",
|
||||
"pr": "TODO"
|
||||
},
|
||||
{
|
||||
"note": "Fix a bug when ast and legacyAST were not present in the artifacts even if requested",
|
||||
"pr": "TODO"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -251,7 +251,7 @@ export function getSourcesWithDependencies(
|
||||
contractPath: string,
|
||||
fullSources: { [sourceName: string]: { id: number } },
|
||||
): { sourceCodes: { [sourceName: string]: string }; sources: { [sourceName: string]: { id: number } } } {
|
||||
const sources = { [contractPath]: { id: fullSources[contractPath].id } };
|
||||
const sources = { [contractPath]: fullSources[contractPath] };
|
||||
const sourceCodes = { [contractPath]: resolver.resolve(contractPath).source };
|
||||
recursivelyGatherDependencySources(
|
||||
resolver,
|
||||
|
||||
Reference in New Issue
Block a user