chore(package): update xo to version 0.22.0
This commit is contained in:
parent
63d422ed5c
commit
06695a1af8
@ -66,7 +66,7 @@
|
|||||||
"proxyquire": "^2.0.0",
|
"proxyquire": "^2.0.0",
|
||||||
"sinon": "^6.0.0",
|
"sinon": "^6.0.0",
|
||||||
"tempy": "^0.2.1",
|
"tempy": "^0.2.1",
|
||||||
"xo": "^0.21.0"
|
"xo": "^0.22.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.3"
|
"node": ">=8.3"
|
||||||
|
1
test/fixtures/index.js
vendored
1
test/fixtures/index.js
vendored
@ -1,2 +1 @@
|
|||||||
module.exports = () => {};
|
module.exports = () => {};
|
||||||
|
|
||||||
|
2
test/fixtures/plugin-error-inherited.js
vendored
2
test/fixtures/plugin-error-inherited.js
vendored
@ -1,7 +1,7 @@
|
|||||||
const SemanticReleaseError = require('@semantic-release/error');
|
const SemanticReleaseError = require('@semantic-release/error');
|
||||||
|
|
||||||
class InheritedError extends SemanticReleaseError {
|
class InheritedError extends SemanticReleaseError {
|
||||||
constructor(message, code, newProperty) {
|
constructor(message, code) {
|
||||||
super(message);
|
super(message);
|
||||||
Error.captureStackTrace(this, this.constructor);
|
Error.captureStackTrace(this, this.constructor);
|
||||||
this.name = this.constructor.name;
|
this.name = this.constructor.name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user