Skip to content

Commit

Permalink
Merge pull request #12 from swanky-dapps/fix/metadata.json
Browse files Browse the repository at this point in the history
Hotfix: metadata.json -> {contract_name}.json
  • Loading branch information
PierreOssun authored Feb 14, 2023
2 parents 88acf58 + 4f03fe2 commit 47d5347
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/@727-ventures+typechain-compiler+0.5.10.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@727-ventures/typechain-compiler/index.ts b/node_modules/@727-ventures/typechain-compiler/index.ts
index 1d158f5..b1577fd 100644
--- a/node_modules/@727-ventures/typechain-compiler/index.ts
+++ b/node_modules/@727-ventures/typechain-compiler/index.ts
@@ -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(

0 comments on commit 47d5347

Please sign in to comment.