mirror of
https://github.com/sbrow/envr.git
synced 2026-08-26 09:53:32 -04:00
style: Cleaned up vet errors.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import "core:fmt"
|
||||
import "core:terminal/ansi"
|
||||
|
||||
cmd_init :: proc(cmd: ^Command) {
|
||||
force := cmd.flags.force
|
||||
|
||||
+2
-1
@@ -221,7 +221,8 @@ search_paths :: proc(cfg: Config, allocator := context.allocator) -> [dynamic]st
|
||||
include = expanded
|
||||
} else {
|
||||
// TODO: show errors?
|
||||
resolved, err := filepath.abs(expanded, allocator)
|
||||
resolved: string
|
||||
resolved, err = filepath.abs(expanded, allocator)
|
||||
if err == nil {
|
||||
include = resolved
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user