Skip to content

Commit

Permalink
Linting changes (#275)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Dec 3, 2024
1 parent 4ba4494 commit 767cf16
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/actions/build.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { config } from "../config/config.js";
import { build as esbuild } from "esbuild";
import fs from 'fs'
import fs from "fs";

export async function build(callback: Function) {
const { metafile } = await esbuild(config.esbuildOptions);
if (metafile)
fs.writeFileSync('meta.json', JSON.stringify(metafile))
if (metafile) fs.writeFileSync("meta.json", JSON.stringify(metafile));
callback();
}
}

0 comments on commit 767cf16

Please sign in to comment.