Somemore small fixes

This commit is contained in:
Johannes Loher 2021-03-17 17:35:26 +01:00
parent 9332baab82
commit c768712e43
2 changed files with 0 additions and 7 deletions

View file

@ -25,11 +25,5 @@ module.exports = {
"@typescript-eslint/no-var-requires": "off", "@typescript-eslint/no-var-requires": "off",
}, },
}, },
{
files: ["./test/**/*.js"],
env: {
"jest/globals": true,
},
},
], ],
}; };

View file

@ -178,7 +178,6 @@ function getTargetVersion(currentVersion, release) {
*/ */
function bumpVersion(cb) { function bumpVersion(cb) {
const packageJson = fs.readJSONSync("package.json"); const packageJson = fs.readJSONSync("package.json");
const packageLockJson = fs.existsSync("package-lock.json") ? fs.readJSONSync("package-lock.json") : undefined;
const manifest = getManifest(); const manifest = getManifest();
if (!manifest) cb(Error(chalk.red("Manifest JSON not found"))); if (!manifest) cb(Error(chalk.red("Manifest JSON not found")));