Skip to content

Commit

Permalink
npm run fix:prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
azrsh committed Sep 3, 2022
1 parent a7c4e50 commit 0e874a1
Show file tree
Hide file tree
Showing 33 changed files with 1,454 additions and 1,449 deletions.
18 changes: 9 additions & 9 deletions meta.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const fs = require("fs")
const { execFileSync } = require("child_process")
const meta = require("./package.json")
const fs = require("fs");
const { execFileSync } = require("child_process");
const meta = require("./package.json");

const gitRev = execFileSync("git", ["rev-parse", "--short", "HEAD"])
.toString()
.trim()
.toString()
.trim();

fs.writeFileSync(
"./built/meta.json",
JSON.stringify({ version: meta.version, revision: gitRev }),
"utf-8"
)
"./built/meta.json",
JSON.stringify({ version: meta.version, revision: gitRev }),
"utf-8"
);
Loading

0 comments on commit 0e874a1

Please sign in to comment.