Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardtke committed Oct 17, 2024
1 parent ef82742 commit dd548c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev/generate-coverage-report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ const coverage = new Deno.Command(Deno.execPath(), {
args: ["coverage", "--unstable", SourceDir, "--lcov"],
stdout: "piped",
});
const {stdout, success, code} = await coverage.output();
if (success && code.code === 0) {
const { stdout, success, code } = await coverage.output();
if (success && code === 0) {
const tmpFile = await Deno.makeTempFile({
suffix: ".lcov",
});
await Deno.writeFileSync(tmpFile, stdout);
console.log(`Written ${tmpFile}`);
const {success, code} = (await new Deno.Command("genhtml", {
const { success, code } = await new Deno.Command("genhtml", {
args: ["-o", OutputDir, tmpFile],
}).output());
}).output();
if (success && code === 0) {
await Deno.remove(tmpFile);
console.log(`Generated ${OutputDir}`);
Expand Down

1 comment on commit dd548c9

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on dd548c9 Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Your deployment uses decorators. The default for 'experimentalDecorators' will be changing to 'false'. In the meantime, please explicitly set the 'experimentalDecorators' compiler option. For more information, see https://deno.com/deploy/changelog#es-decorators-are-enabled-on-deno-deploy-replacing-experimental-ts-decorators

Please sign in to comment.