Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
chore: Update pkg-up to v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tleunen committed Oct 19, 2020
1 parent 64fe7f2 commit 14a78a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"import"
],
"dependencies": {
"pkg-up": "^2.0.0",
"pkg-up": "^3.1.0",
"resolve": "^1.17.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ exports.resolve = (source, file, opts) => {
const options = opts || {};
if (resolve.isCore(source)) return { found: true, path: null };

const projectRootDir = path.dirname(pkgUp.sync(file));
const projectRootDir = path.dirname(pkgUp.sync({cwd: file}));

try {
const pluginOptions = getPluginOptions(
Expand Down

0 comments on commit 14a78a6

Please sign in to comment.