Skip to content

Commit 5b00946

Browse files
committed
Fix dap-chrome.el when there is no mode in the template
1 parent acd1adc commit 5b00946

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dap-chrome.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
(dap--put-if-absent :webRoot (lsp-workspace-root))))
6161
("file" (dap--put-if-absent conf :file
6262
(read-file-name "Select the file to open in the browser:"
63-
nil (buffer-file-name) t))))
63+
nil (buffer-file-name) t)))
64+
(_ conf))
6465
:mode))
6566

6667
(dap-register-debug-provider "chrome" #'dap-chrome--populate-start-file-args)

0 commit comments

Comments
 (0)