Skip to content

Commit

Permalink
fix(validate/webidl): remove stray .cache dir (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Sep 20, 2021
1 parent a872d58 commit 6e7fb0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/validate-webidl.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { rm } from "fs/promises";
import { env, exit, install, yesOrNo } from "./utils.js";
import { BuildResult } from "./build.js";
type Input = Pick<BuildResult, "dest" | "file">;
Expand All @@ -21,6 +22,7 @@ export default async function main({ dest, file }: Input) {
[{ url: fileurl, nightly: { url: fileurl } }],
{ modules: ["idl"] },
);
await rm(".cache", { recursive: true, force: true });

const idl = results[0]?.idl?.idl;
if (!idl) {
Expand Down

0 comments on commit 6e7fb0c

Please sign in to comment.