[examples/rename] Fix variable names.

This commit is contained in:
Lorenzo Cogotti 2022-12-15 09:38:57 +01:00
parent ca5ea0085c
commit 3ea3eeaa67
1 changed files with 1 additions and 1 deletions

View File

@ -41,6 +41,6 @@ for filename in dir(path) do
-- Print a nice message and rename things
write(from, ' -> ', to)
assert(osx.rename(filename, newfilename))
assert(osx.rename(from, to))
end
end