Skip to content

Commit

Permalink
delete previous bindings metadata (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
grian32 authored Nov 7, 2021
1 parent 14b0169 commit d56f608
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ async function generate() {
await Deno.remove("bindings.json");
}

try {
await Deno.remove("bindings.json");
} catch {
// no op
}
await build();
await generate();

Expand Down

0 comments on commit d56f608

Please sign in to comment.