Skip to content

Commit

Permalink
chore(package): update xo to version 0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and pvdlg committed Jan 14, 2019
1 parent 9e2b2e5 commit 768842e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function verifyConditions(pluginConfig, context) {
pluginConfig.assets = defaultTo(pluginConfig.assets, preparePlugin.assets);
pluginConfig.message = defaultTo(pluginConfig.message, preparePlugin.message);
}

verifyGit(pluginConfig);
verified = true;
}
Expand All @@ -23,6 +24,7 @@ async function prepare(pluginConfig, context) {
verifyGit(pluginConfig);
verified = true;
}

await prepareGit(pluginConfig, context);
}

Expand Down
3 changes: 1 addition & 2 deletions lib/definitions/errors.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const url = require('url');
const pkg = require('../../package.json');

const homepage = url.format({...url.parse(pkg.homepage), ...{hash: null}});
const [homepage] = pkg.homepage.split('#');
const linkify = file => `${homepage}/blob/master/${file}`;

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"semantic-release": "^16.0.0-beta",
"sinon": "^7.1.1",
"tempy": "^0.2.1",
"xo": "^0.23.0"
"xo": "^0.24.0"
},
"engines": {
"node": ">=8.3"
Expand Down

0 comments on commit 768842e

Please sign in to comment.