Skip to content

Commit

Permalink
fix(scripts): issue with generating certified candid
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysKarmazynDFINITY committed Jan 7, 2025
1 parent 2b0a0e7 commit cbaf395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/did.update.types.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const copyCertifiedFactory = async ({ dest = `./src/declarations` }) => {

const certifiedFactoryPath = join(dest, dir, `${dir}.factory.certified.did.js`);

await writeFile(certifiedFactoryPath, content.toString().replace(/\['query']/g, ''));
await writeFile(certifiedFactoryPath, content.toString().replace(/\['query'],?/g, ''));

resolve();
};
Expand Down

0 comments on commit cbaf395

Please sign in to comment.