8000 fix(package): update read-pkg-up to version 6.0.0 · semantic-release/semantic-release@74103ab · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 74103ab

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
fix(package): update read-pkg-up to version 6.0.0
1 parent 6e64745 commit 74103ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/get-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ module.exports = async (context, opts) => {
8585
};
8686

8787
async function pkgRepoUrl(opts) {
88-
const {pkg} = await readPkgUp(opts);
88+
const {package: pkg} = (await readPkgUp(opts)) || {};
8989
return pkg && (isPlainObject(pkg.repository) ? pkg.repository.url : pkg.repository);
9090
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"marked-terminal": "^3.2.0",
4141
"p-locate": "^4.0.0",
4242
"p-reduce": "^2.0.0",
43-
"read-pkg-up": "^5.0.0",
43+
"read-pkg-up": "^6.0.0",
4444
"resolve-from": "^5.0.0",
4545
"semver": "^6.0.0",
4646
"signale": "^1.2.1",

0 commit comments

Comments
 (0)
0