Skip to content

Commit

Permalink
1.1.2 removed debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-reineke committed Nov 2, 2020
1 parent d4a9f7e commit eb2c149
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion doc/format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


Author: Lukas Reineke <lukas.reineke@protonmail.com>
Version: 1.1.1
Version: 1.1.2

==============================================================================
CONTENTS *format*
Expand Down Expand Up @@ -195,6 +195,9 @@ FormatWrite *FormatWrite*
==============================================================================
5. CHANGELOG *format-changelog*

1.1.2
* Removed debug print

1.1.1
* Fixed wrong directory generation when file is in root of path
Thanks for the help by @ndreas
Expand Down
2 changes: 0 additions & 2 deletions lua/format/format.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ function M.format(cmd, options, callback)
end
local tempfile_name = (options.tempfile_dir or tempfile_dir) .. "/" .. filename

print(tempfile_name)

local tempfile = io.open(tempfile_name, "w+")
for _, line in pairs(lines) do
tempfile:write(line)
Expand Down

0 comments on commit eb2c149

Please sign in to comment.