fix(cli): doom sync: void-variable envvars error

For Windows users only.

Amend: 8cafbe4408
This commit is contained in:
Henrik Lissner
2024-11-23 08:27:34 -05:00
parent be4fb85dd9
commit 9c8cfaadde

View File

@ -1201,7 +1201,7 @@ Emacs' batch library lacks an implementation of the exec system call."
"\n} finally {\n"
,(cl-loop for file in persistent-files
concat (format " Remove-Item -Path %S\n " file))
,(cl-loop for (var . val) in envvars
,(cl-loop for (var . _) in persisted-env
concat (format " $env:%s = $__%s\n " var var))
"\n}")))))
(doom-log "_doomrun: %s %s"