fix(package): update read-pkg-up to version 7.0.0

This commit is contained in:
greenkeeper[bot]
2019-09-27 10:37:25 -07:00
committed by Pierre Vanduynslager
parent 5986bf920e
commit 0e24022608
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);
}