mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 18:48:33 -04:00
refactor: Cleaned up the sync and scan commands.
This commit is contained in:
@@ -12,7 +12,7 @@ cmd_scan :: proc(cmd: ^Command) {
|
||||
}
|
||||
defer db_close(&db)
|
||||
|
||||
search_dirs := search_paths(db.cfg)
|
||||
search_dirs := search_paths(db.cfg, context.temp_allocator)
|
||||
if len(search_dirs) == 0 {
|
||||
fmt.wprintln(
|
||||
cmd.err,
|
||||
|
||||
Reference in New Issue
Block a user