Skip to content

Commit

Permalink
style: fix style in config
Browse files Browse the repository at this point in the history
  • Loading branch information
khris190 committed May 10, 2024
1 parent 1888335 commit c966b64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/cmake-tools/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ function Config:update_build_dir(build_dir, no_expand_build_dir)
no_expand_build_dir = no_expand_build_dir()
end
if type(no_expand_build_dir) ~= "string" then
error("no_expand_build_dir needs to be a string or function returning string path to the build_directory")
error(
"no_expand_build_dir needs to be a string or function returning string path to the build_directory"
)
end
local build_path = Path:new(build_dir)
if build_path:is_absolute() then
Expand Down

0 comments on commit c966b64

Please sign in to comment.