fix(cli): void-variable doom-profile-env-file-name error

This variable ref snuck into cff0919, but hasn't been introduced yet.

Fix: #7755
Amend: cff091982e41
This commit is contained in:
Henrik Lissner 2024-03-24 18:54:26 -04:00 committed by Yann Esposito (Yogsototh)
parent 56ae6cc1f2
commit ec517a831c
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -81,9 +81,7 @@ OPTIONS:
(exit! 0))
(setq rebuild? t)))
(when (and (not noenvvar?)
(file-exists-p
(file-name-concat doom-profile-dir
doom-profile-env-file-name)))
(file-exists-p doom-env-file))
(call! '(env)))
(doom-packages-ensure rebuild?)
(unless noupdate? (doom-packages-update (not update?)))