Skip to content

Commit c8341fd

Browse files
committed
fix: JavaScript logging debug → warn
1 parent a3f8beb commit c8341fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/debugprint/filetypes.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ local docker = vim.deepcopy(shell)
2020

2121
docker.left = "RUN " .. docker.left
2222

23+
-- Use console.warn() rather than console.debug() so that messages are visible
24+
-- by default.
2325
local js = {
24-
left = 'console.debug("',
26+
left = 'console.warn("',
2527
right = '")',
2628
mid_var = '", ',
2729
right_var = ")",

0 commit comments

Comments
 (0)