From 286be1b2496a3ffa2280a16a41f56babebea93f0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 24 Mar 2024 18:54:26 -0400 Subject: [PATCH] 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 --- lisp/cli/sync.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/cli/sync.el b/lisp/cli/sync.el index f71fe8c8d..f74a97923 100644 --- a/lisp/cli/sync.el +++ b/lisp/cli/sync.el @@ -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?)))