fix: fixing leaks.

This commit is contained in:
2026-06-12 11:05:34 -04:00
parent e966050137
commit a28b8d10bc
5 changed files with 207 additions and 203 deletions

View File

@@ -4,7 +4,8 @@ import "core:encoding/json"
import "core:fmt"
cmd_scan :: proc(cmd: ^Command) {
if !can_scan() {
feats := check_features()
if cant_scan(feats) {
fmt.println(
"Error: please install fd to use the scan command (https://github.com/sharkdp/fd)",
)