fix(fswatch): --latency is locale dependent

This commit is contained in:
Oscar Creator 2024-03-09 17:10:58 +01:00 committed by Lewis Russell
parent b465ede2c7
commit 06fcf71bd0

View File

@ -303,6 +303,8 @@ function M.fswatch(path, opts, callback)
fswatch_output_handler(line, opts, callback)
end
end,
-- --latency is locale dependent but tostring() isn't and will always have '.' as decimal point.
env = { LC_NUMERIC = 'C' },
})
return function()