fix(cli): convert __DOOMSTEP to string

To avoid a type error.

Amend: 0ecf69afaf
Ref: #6970
This commit is contained in:
Henrik Lissner 2023-03-21 01:40:22 -04:00
parent c157c39f4a
commit db2534aa29
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1233,7 +1233,7 @@ Emacs' batch library lacks an implementation of the exec system call."
("EMACSDIR" . ,doom-emacs-dir)
("DOOMDIR" . ,doom-user-dir)
("DEBUG" . ,(if init-file-debug "1"))
("__DOOMSTEP" . ,(doom-cli-context-step context))
("__DOOMSTEP" . ,(number-to-string (doom-cli-context-step context)))
("__DOOMCONTEXT" . ,context-file))
if val
concat (format "%s=%s \\\n" envvar (shell-quote-argument val)))