Skip to content

Commit db2534a

Browse files
committed
fix(cli): convert __DOOMSTEP to string
To avoid a type error. Amend: 0ecf69a Ref: #6970
1 parent c157c39 commit db2534a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/doom-cli.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ Emacs' batch library lacks an implementation of the exec system call."
12331233
("EMACSDIR" . ,doom-emacs-dir)
12341234
("DOOMDIR" . ,doom-user-dir)
12351235
("DEBUG" . ,(if init-file-debug "1"))
1236-
("__DOOMSTEP" . ,(doom-cli-context-step context))
1236+
("__DOOMSTEP" . ,(number-to-string (doom-cli-context-step context)))
12371237
("__DOOMCONTEXT" . ,context-file))
12381238
if val
12391239
concat (format "%s=%s \\\n" envvar (shell-quote-argument val)))

0 commit comments

Comments
 (0)