parent
b0bda9f9d2
commit
76f991ecd8
@ -1,16 +0,0 @@
|
||||
const pkg = require("../../package.json");
|
||||
const fs = require("fs");
|
||||
const util = require("../../src/util");
|
||||
|
||||
util.polyfill();
|
||||
|
||||
const oldVersion = pkg.oldVersion;
|
||||
|
||||
if (!oldVersion) {
|
||||
console.log("Error: no old version?");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
delete pkg.oldVersion;
|
||||
pkg.version = oldVersion;
|
||||
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n");
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue