summaryrefslogtreecommitdiff
path: root/cli/args/mod.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-08-29 01:21:59 +0100
committerGitHub <noreply@github.com>2024-08-29 02:21:59 +0200
commit27d0897841386068560ffad256c6c8ac27adefe1 (patch)
tree8d1a9efce1ef227e438b1cd016ceae08fcfde1fa /cli/args/mod.rs
parent52fb6582e7121a6c253c83b95e9706d236262cbe (diff)
test: run specs::npm::exec_file_inside_npm_package with DENO_FUTURE=1 (#25282)
The test is failing if run with `DENO_FUTURE=1` which is blocking https://github.com/denoland/deno/pull/25213. --------- Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r--cli/args/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index a6b547fd7..bd5309c01 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -1614,6 +1614,7 @@ impl CliOptions {
pub fn use_byonm(&self) -> bool {
if self.enable_future_features()
&& self.node_modules_dir_enablement().is_none()
+ && self.maybe_node_modules_folder.is_some()
&& self
.workspace()
.config_folders()