fix: Removed thor: prefixes from log messages.

This commit is contained in:
Spencer Brower
2026-07-19 12:24:14 -04:00
parent 398f0eb1b4
commit 5c689638b1
6 changed files with 33 additions and 17 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ copy_assets_dir :: proc(vfs: ^VFS, output_dir: string, features: bit_set[Feature
if idx := strings.last_index(dest, "/"); idx >= 0 {
if err := os.make_directory_all(dest[:idx]); err != nil && err != .Exist {
log.warnf("thor: cannot create %s: %v", dest[:idx], err)
log.warnf("cannot create %s: %v", dest[:idx], err)
continue
}
}
@@ -28,11 +28,11 @@ copy_assets_dir :: proc(vfs: ^VFS, output_dir: string, features: bit_set[Feature
}
} else if entry.data != nil {
if err := os.write_entire_file(dest, entry.data); err != nil {
log.warnf("thor: cannot write %s: %v", dest, err)
log.warnf("cannot write %s: %v", dest, err)
}
} else {
if err := os.copy_file(dest, entry.fs_path); err != nil {
log.warnf("thor: cannot copy %s: %v", entry.fs_path, err)
log.warnf("cannot copy %s: %v", entry.fs_path, err)
}
}
}