Skip to content

Commit 31ea579

Browse files
Build4D : Buildfix
1 parent 6b817b7 commit 31ea579

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Build4D/Project/Sources/Classes/_core.4dm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,11 @@ Function _resolvePath($path : Variant; $baseFolder : 4D.Folder) : Object
397397
return File($file.platformPath; fk platform path)
398398

399399
Else
400-
if ($folder#Null)
400+
If ($folder#Null)
401401
return Folder($folder.platformPath; fk platform path)
402-
else
402+
Else
403403
return Null
404+
End if
404405

405406
End case
406407

@@ -696,7 +697,7 @@ Function _deletePaths($paths : Collection) : Boolean
696697

697698
var $path : Variant
698699
var $deletePath : Object
699-
var $pathType: Integer
700+
var $pathType : Integer
700701

701702
If (($paths#Null) && ($paths.length>0))
702703

@@ -716,7 +717,7 @@ Function _deletePaths($paths : Collection) : Boolean
716717
$pathType:=Test path name(String($deletePath.platformPath))
717718
If ($pathType>=0)
718719
Case of
719-
: ($pathType=Is a file)
720+
: ($pathType=Is a document)
720721
$deletePath.delete()
721722
Else // : (OB Instance of($path; 4D.Folder)) // if not 4D folder?
722723
$deletePath.delete(fk recursive)

0 commit comments

Comments
 (0)