| author | |
| committer | |
| log | c6f5832bb61841d5be4f77adc38fbc4561bb5057 |
| tree | ee6bafab009d21469f00ffb5185faef515fb061f |
| parent | 8c4896fb3a44d3b8025f66db7615483c30bed2b1 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/Module.zig+1-1| ... | ... | @@ -4697,7 +4697,7 @@ pub fn importFile( |
| 4697 | 4697 | if (!mem.startsWith(u8, resolved_path, resolved_root_path) or |
| 4698 | 4698 | // This prevents this check from triggering when the name of the |
| 4699 | 4699 | // imported file starts with the root path's directory name. |
| 4700 | std.fs.path.isSep(resolved_path[resolved_root_path.len])) | |
| 4700 | !std.fs.path.isSep(resolved_path[resolved_root_path.len])) | |
| 4701 | 4701 | { |
| 4702 | 4702 | return error.ImportOutsidePkgPath; |
| 4703 | 4703 | } |