Skip to content

Commit a93924a

Browse files
Bump read-pkg-up from 4.0.0 to 7.0.1 (#724)
* Bump read-pkg-up from 4.0.0 to 7.0.1 Bumps [read-pkg-up](https://github.com/sindresorhus/read-pkg-up) from 4.0.0 to 7.0.1. - [Release notes](https://github.com/sindresorhus/read-pkg-up/releases) - [Commits](sindresorhus/read-package-up@v4.0.0...v7.0.1) --- updated-dependencies: - dependency-name: read-pkg-up dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update router.js * Update router.js Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcelo Shima <[email protected]>
1 parent 4cf042a commit a93924a

File tree

4 files changed

+133
-539
lines changed

4 files changed

+133
-539
lines changed

lib/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Router {
6262
return;
6363
}
6464

65-
const {pkg} = readPkgUp.sync({cwd: path.dirname(generator.resolved)});
65+
const {packageJson: pkg} = readPkgUp.sync({cwd: path.dirname(generator.resolved)});
6666

6767
if (!pkg) {
6868
return;

0 commit comments

Comments
 (0)