mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-01 14:51:37 -08:00
fix(cli): omit -D when restarting CLI
The -D short flag was not being omitted during restart, causing an infinite loop when using `doom sync -D`. Only --debug was added to the omit list, but -D also triggers debug? and needs to be removed.
This commit is contained in:
parent
1ee1f8f265
commit
ae05c26eec
1 changed files with 2 additions and 1 deletions
3
bin/doom
3
bin/doom
|
|
@ -222,7 +222,8 @@ SEE ALSO:
|
|||
(when debug?
|
||||
(setenv "DEBUG" "1")
|
||||
(setq init-file-debug t)
|
||||
(push "--debug" omit))
|
||||
(push "--debug" omit)
|
||||
(push "-D" omit))
|
||||
(when profile
|
||||
(setenv "DOOMPROFILE" profile)
|
||||
(push "--profile=" omit))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue