Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Oct 16, 2023
1 parent 3e78b84 commit ba1270d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/prepub.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const { readFileSync, writeFileSync } = require("fs")
const path = require("path");
const { version } = require("../package.json")
const pkg = require(path.join(__dirname, "package.json"))
const pkg = require("./package.json")
pkg.version = version
writeFileSync("./package.json", JSON.stringify(pkg))

const path = require("path");
const ijs_path = path.join(__dirname, "index.js")
const ijs = readFileSync(ijs_path, "utf-8")
const pkg_name = pkg.name
Expand Down

0 comments on commit ba1270d

Please sign in to comment.