Skip to content

Commit 35a65b6

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
chore(package): update xo to version 0.24.0
1 parent f54e9af commit 35a65b6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/definitions/errors.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
const url = require('url');
21
const {inspect} = require('util');
32
const {isString} = require('lodash');
43
const pkg = require('../../package.json');
54

6-
const homepage = url.format({...url.parse(pkg.homepage), ...{hash: null}});
5+
const [homepage] = pkg.homepage.split('#');
76
const stringify = obj => (isString(obj) ? obj : inspect(obj, {breakLength: Infinity, depth: 2, maxArrayLength: 5}));
87
const linkify = file => `${homepage}/blob/master/${file}`;
98

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"semantic-release": "^16.0.0-beta",
3333
"sinon": "^7.1.1",
3434
"stream-buffers": "^3.0.2",
35-
"xo": "^0.23.0"
35+
"xo": "^0.24.0"
3636
},
3737
"engines": {
3838
"node": ">=8.3"

0 commit comments

Comments
 (0)