diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2026-02-12 14:38:39 +1100 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2026-02-12 14:52:27 +1100 |
| commit | b32550a87edcbd71d1084eec76c316161066bb06 (patch) | |
| tree | e8ad7fd5fd209adca67d6f4a9304da44116f99a1 /src/server/analysis.odin | |
| parent | 92b8c767d233c6556ebf46072f32a02d06277363 (diff) | |
Update ols to use the new os and filepath packages
Diffstat (limited to 'src/server/analysis.odin')
| -rw-r--r-- | src/server/analysis.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin index 024c2c3..1a85708 100644 --- a/src/server/analysis.odin +++ b/src/server/analysis.odin @@ -3409,7 +3409,7 @@ get_package_from_node :: proc(node: ast.Node) -> string { } get_package_from_filepath :: proc(file_path: string) -> string { - slashed, _ := filepath.to_slash(file_path, context.temp_allocator) + slashed, _ := filepath.replace_path_separators(file_path, '/', context.temp_allocator) ret := path.dir(slashed, context.temp_allocator) return ret } |