Skip to content

Commit a146841

Browse files
committed
fix(babel): removed extra shebang parsing
1 parent d424528 commit a146841

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: lua/orgmode/babel/tangle.lua

-6
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ function Tangle:tangle()
118118
vim.fn.mkdir(path, 'p')
119119
end
120120

121-
local shebang = info.header_args[':shebang']
122-
if shebang then
123-
shebang = shebang:gsub('[\'"]', '')
124-
table.insert(parsed_content, 1, shebang)
125-
end
126-
127121
if info.name then
128122
block_content_by_name[info.name] = parsed_content
129123
end

0 commit comments

Comments
 (0)