1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

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>
This commit is contained in:
Bartek Iwańczuk 2024-08-29 01:21:59 +01:00 committed by GitHub
parent 52fb6582e7
commit 27d0897841
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -1614,6 +1614,7 @@ impl CliOptions {
pub fn use_byonm(&self) -> bool { pub fn use_byonm(&self) -> bool {
if self.enable_future_features() if self.enable_future_features()
&& self.node_modules_dir_enablement().is_none() && self.node_modules_dir_enablement().is_none()
&& self.maybe_node_modules_folder.is_some()
&& self && self
.workspace() .workspace()
.config_folders() .config_folders()

View file

@ -1,4 +1,7 @@
{ {
"args": "run -A main.ts", "args": "run -A main.ts",
"output": "main.out" "output": "main.out",
"envs": {
"DENO_FUTURE": "1"
}
} }