diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2022-10-12 11:32:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 11:32:52 +0900 |
commit | 2c96f64fa7ec7655200de4c6740ceade78a3fad7 (patch) | |
tree | f06758ca6f76b40a7915f9c19d4f2fbe3ad0ca43 /ext/fetch/lib.rs | |
parent | 0cd05d737729b4cfab1d5e22077b3b9ad4ed5e30 (diff) |
fix(cli): skip removing the latter part if `@` appears at the beginning (#16244)
This commit prevents panics that `deno compile` command ran into under certain
conditions from occurring. Such conditions are as follows.
- the target file name begins with `@`, OR
- the stem part of the target file name is equal to one of
["main", "index", "mod", "index"] && the parent directory name starts with `@`
Fixes #16243
Diffstat (limited to 'ext/fetch/lib.rs')
0 files changed, 0 insertions, 0 deletions