Skip to content

Commit 9078e27

Browse files
nlfwraithgar
authored andcommitted
fix(query): tell arborist to load an actual tree, not a virtual one
1 parent 96b6781 commit 9078e27

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/commands/query.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Query extends BaseCommand {
5858
const opts = {
5959
...this.npm.flatOptions,
6060
path: where,
61+
forceActual: true,
6162
}
6263
const arb = new Arborist(opts)
6364
const tree = await arb.loadActual(opts)

0 commit comments

Comments
 (0)