diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-12-06 16:25:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 16:25:24 -0500 |
| commit | 7fdc3c8f1fc27be2ca7d4ff62b9fd8ecb3d24e61 (patch) | |
| tree | e0de42001e5185091e00dd0232d82f98621edd14 /cli/tests/testdata/compile | |
| parent | 07f78912d629eb788cd9feca344e6b4720a3bef3 (diff) | |
fix(compile/npm): ignore symlinks to non-existent paths in node_modules directory (#21479)
Part of https://github.com/denoland/deno/issues/21476
Diffstat (limited to 'cli/tests/testdata/compile')
| -rw-r--r-- | cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_file.out | 2 | ||||
| -rw-r--r-- | cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_folder.out | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_file.out b/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_file.out index 7602a4002..1154c3256 100644 --- a/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_file.out +++ b/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_file.out @@ -1,2 +1,2 @@ Compile file:///[WILDCARD]/node_modules_symlink_outside/main.ts to [WILDCARD] -Symlink target is outside '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules'. Inlining symlink at '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules[WILDCARD]test.txt' to '[WILDCARD]node_modules_symlink_outside[WILDCARD]test.txt' as file. +Warning Symlink target is outside '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules'. Inlining symlink at '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules[WILDCARD]test.txt' to '[WILDCARD]node_modules_symlink_outside[WILDCARD]test.txt' as file. diff --git a/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_folder.out b/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_folder.out index 883a3f262..e88b95834 100644 --- a/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_folder.out +++ b/cli/tests/testdata/compile/node_modules_symlink_outside/main_compile_folder.out @@ -3,4 +3,4 @@ Download http://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz Initialize @denotest/esm-basic@1.0.0 Check file:///[WILDCARD]/node_modules_symlink_outside/main.ts Compile file:///[WILDCARD]/node_modules_symlink_outside/main.ts to [WILDCARD] -Symlink target is outside '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules'. Excluding symlink at '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules[WILDCARD]some_folder' with target '[WILDCARD]node_modules_symlink_outside[WILDCARD]some_folder'. +Warning Symlink target is outside '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules'. Excluding symlink at '[WILDCARD]node_modules_symlink_outside[WILDCARD]node_modules[WILDCARD]some_folder' with target '[WILDCARD]node_modules_symlink_outside[WILDCARD]some_folder'. |
