chore(package): update xo to version 0.22.0

This commit is contained in:
greenkeeper[bot] 2018-08-06 09:16:44 +00:00 committed by Pierre Vanduynslager
parent 63d422ed5c
commit 06695a1af8
3 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -1,2 +1 @@
module.exports = () => {};

View File

@ -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;