fix(log): log unset $TMPDIR at "debug" level #32137

This commit is contained in:
phanium
2025-01-25 12:05:47 +08:00
committed by GitHub
parent 931ee5591f
commit 851137f679

View File

@ -3277,7 +3277,7 @@ static void vim_mktempdir(void)
if (!os_isdir(tmp)) {
if (strequal("$TMPDIR", temp_dirs[i])) {
if (!os_getenv("TMPDIR")) {
WLOG("$TMPDIR is unset");
DLOG("$TMPDIR is unset");
} else {
WLOG("$TMPDIR tempdir not a directory (or does not exist): \"%s\"", tmp);
}