fix(package): update read-pkg-up to version 6.0.0
This commit is contained in:
committed by
Pierre Vanduynslager
parent
6e64745f6b
commit
74103abac4
+1
-1
@@ -85,6 +85,6 @@ module.exports = async (context, opts) => {
|
||||
};
|
||||
|
||||
async function pkgRepoUrl(opts) {
|
||||
const {pkg} = await readPkgUp(opts);
|
||||
const {package: pkg} = (await readPkgUp(opts)) || {};
|
||||
return pkg && (isPlainObject(pkg.repository) ? pkg.repository.url : pkg.repository);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user