Skip to content

Commit

Permalink
fix(package): update read-pkg-up to version 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and pvdlg committed Sep 27, 2019
1 parent 5986bf9 commit 0e24022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/get-config.js
Expand Up @@ -85,6 +85,6 @@ module.exports = async (context, opts) => {
};

async function pkgRepoUrl(opts) {
const {package: pkg} = (await readPkgUp(opts)) || {};
return pkg && (isPlainObject(pkg.repository) ? pkg.repository.url : pkg.repository);
const {packageJson} = (await readPkgUp(opts)) || {};
return packageJson && (isPlainObject(packageJson.repository) ? packageJson.repository.url : packageJson.repository);
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -43,7 +43,7 @@
"marked-terminal": "^3.2.0",
"p-locate": "^4.0.0",
"p-reduce": "^2.0.0",
"read-pkg-up": "^6.0.0",
"read-pkg-up": "^7.0.0",
"resolve-from": "^5.0.0",
"semver": "^6.0.0",
"signale": "^1.2.1",
Expand Down

0 comments on commit 0e24022

Please sign in to comment.