Skip to content

Commit

Permalink
fix: error handling on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchilly committed Dec 1, 2022
1 parent be02956 commit dfc398d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/catppuccin/lib/compiler.lua
Expand Up @@ -68,7 +68,7 @@ Below is the error message that we captured:
local err = io.open(err_path, "wb")
err:write(table.concat(lines, "\n"))
err:close()
dofile "/tmp/catppuccin_error.lua"
dofile(err_path)
return
end
f()
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/lib/vim/compiler.lua
Expand Up @@ -79,7 +79,7 @@ Below is the error message that we captured:
local err = io.open(err_path, "wb")
err:write(table.concat(lines, "\n"))
err:close()
dofile "/tmp/catppuccin_error.lua"
dofile(err_path)
return
end
f()
Expand Down

0 comments on commit dfc398d

Please sign in to comment.