Skip to content

Commit 52da1c6

Browse files
committed
Fixed quotes
Fixed indent
1 parent b7fc83e commit 52da1c6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lua/cmake-tools/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ function cmake.create_regenerate_on_save_autocmd()
14031403

14041404
local cwd = config.cwd
14051405
if require("cmake-tools.osys").iswin32 then
1406-
cwd = config.cwd:gsub("\\", "/")
1406+
cwd = config.cwd:gsub("\\", "/")
14071407
end
14081408

14091409
local presets_exists = config.base_settings.use_preset and Presets.exists(config.cwd)

lua/cmake-tools/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function utils.run(cmd, env_script, env, args, cwd, runner, callback)
189189
vim.cmd("silent exec " .. '"wall"')
190190

191191
if osys.iswin32 then
192-
cmd = cmd:gsub('/', '\\')
192+
cmd = cmd:gsub("/", "\\")
193193
end
194194

195195
local ntfy = notification:new("runner")

0 commit comments

Comments
 (0)