Skip to content

Commit

Permalink
updated eli.fs.extra
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Oct 3, 2024
1 parent edb4335 commit 14f370d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/eli-fs-extra
Submodule eli-fs-extra updated 2 files
+7 −1 src/lfile.c
+10 −2 src/lfsutil.c
2 changes: 1 addition & 1 deletion lib/eli/fs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function fs.copy(src, dst, options)
end
local file_info = fs.file_info(srcFile) or {}
fs.mkdirp(dstFile)
fs.chmod(dstFile, file_info.permissions)
fs.chmod(dstFile, file_info.permissions or "rw-r--r--")
elseif not fs.exists(dstFile) or options.overwrite then
fs.mkdirp(_eliPath.dir(dstFile))
fs.copy_file(_eliPath.combine(src, srcFile) --[[@as string]], dstFile, options)
Expand Down

0 comments on commit 14f370d

Please sign in to comment.