From 9078e27cef0233d6fc81e0ca824a34fd7685d93c Mon Sep 17 00:00:00 2001 From: nlf Date: Thu, 4 Aug 2022 13:44:31 -0700 Subject: [PATCH] fix(query): tell arborist to load an actual tree, not a virtual one --- lib/commands/query.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands/query.js b/lib/commands/query.js index 371fddef9b440..60294acaf4a68 100644 --- a/lib/commands/query.js +++ b/lib/commands/query.js @@ -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)