Skip to content

Commit

Permalink
fix(query): tell arborist to load an actual tree, not a virtual one
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf authored and wraithgar committed Aug 8, 2022
1 parent 96b6781 commit 9078e27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/commands/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class Query extends BaseCommand {
const opts = {
...this.npm.flatOptions,
path: where,
forceActual: true,
}
const arb = new Arborist(opts)
const tree = await arb.loadActual(opts)
Expand Down

0 comments on commit 9078e27

Please sign in to comment.