Keep -vet happy
This commit is contained in:
1 parent
aa2562fe7c
commit
f6e2d74d10
5 files changed
+11
-12
No files matched your search
@@ -10,8 +10,8 @@ import "core:slice"
|
||||
collect_package :: proc(path: string) -> (pkg: ^ast.Package, success: bool) {
|
||||
NO_POS :: tokenizer.Pos{};
|
||||
|
||||
pkg_path, ok := filepath.abs(path);
|
||||
if !ok {
|
||||
pkg_path, pkg_path_ok := filepath.abs(path);
|
||||
if !pkg_path_ok {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user