fix: add -f to mv to avoid errors when updating

This commit is contained in:
WindSoilder 2023-04-27 06:22:53 +08:00 committed by GitHub
parent 0d7da3bd7d
commit 8ec9a50965
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,7 +213,7 @@ function M.select_mv_cmd(from, to, cwd)
return {
cmd = "mv",
opts = {
args = { from, to },
args = { "-f", from, to },
cwd = cwd,
},
}