mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-03-26 07:41:19 +00:00
Fix chmod
This commit is contained in:
@@ -3929,7 +3929,7 @@ namespace Tesses::CrossLang {
|
|||||||
{
|
{
|
||||||
Tesses::Framework::Filesystem::VFSPath path;
|
Tesses::Framework::Filesystem::VFSPath path;
|
||||||
int64_t mode;
|
int64_t mode;
|
||||||
if(GetArgumentAsPath(args,0,path) && GetArgument(args,0,mode))
|
if(GetArgumentAsPath(args,0,path) && GetArgument(args,1,mode))
|
||||||
{
|
{
|
||||||
vfs->Chmod(path,(uint32_t)mode);
|
vfs->Chmod(path,(uint32_t)mode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user