Unverified Commit 88d46869 authored by Derek Lewis's avatar Derek Lewis Committed by Myles Borins
Browse files

module: fix check for package.json at volume root

This patch converts the "read package scope" algorithm's while loop
into a do-while loop enabling items at the filesystem root dir to
be considered within the scope of a sibling package.json also at the
filesystem root dir.

Fixes: https://github.com/nodejs/node/issues/33438



Co-authored-by: default avatarGuy Bedford <guybedford@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/34595


Reviewed-By: default avatarJan Krems <jan.krems@gmail.com>
Reviewed-By: default avatarMary Marchini <oss@mmarchini.me>
parent ab7d2ac9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment