Skip to content

Commit

Permalink
Merge pull request #24 from HyunggyuJang/fix/metadata.json
Browse files Browse the repository at this point in the history
metadata.json -> {contract_name}.json
  • Loading branch information
varex83 authored Feb 21, 2023
2 parents d717f5e + 19946bf commit b97abca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typechain-compiler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function main() {
__writeFileSync(
artifactsPath,
`${targetInfo.name}.json`,
FsAPI.readFileSync(PathAPI.resolve(targetInfo.path, 'metadata.json'), "utf8")
FsAPI.readFileSync(PathAPI.resolve(targetInfo.path, `${targetInfo.name}.json`), "utf8")
);

__writeFileSync(
Expand Down

0 comments on commit b97abca

Please sign in to comment.