diff --git a/package.json b/package.json index e4e66bc183..53153f5ba0 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "proxyquire": "^2.0.0", "sinon": "^6.0.0", "tempy": "^0.2.1", - "xo": "^0.21.0" + "xo": "^0.22.0" }, "engines": { "node": ">=8.3" diff --git a/test/fixtures/index.js b/test/fixtures/index.js index 3246d10005..cc40a4649c 100644 --- a/test/fixtures/index.js +++ b/test/fixtures/index.js @@ -1,2 +1 @@ module.exports = () => {}; - diff --git a/test/fixtures/plugin-error-inherited.js b/test/fixtures/plugin-error-inherited.js index bcc5a3e5cd..b5a592ed62 100644 --- a/test/fixtures/plugin-error-inherited.js +++ b/test/fixtures/plugin-error-inherited.js @@ -1,7 +1,7 @@ const SemanticReleaseError = require('@semantic-release/error'); class InheritedError extends SemanticReleaseError { - constructor(message, code, newProperty) { + constructor(message, code) { super(message); Error.captureStackTrace(this, this.constructor); this.name = this.constructor.name;