Skip to content

Commit

Permalink
Fix issue with braces
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-etamarch committed Nov 11, 2024
1 parent e2fdf20 commit e5e0ba3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cls/SourceControl/Git/Utils.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2504,8 +2504,7 @@ ClassMethod NameToInternalName(Name, IgnorePercent = 1, IgnoreNonexistent = 1, V
if (InternalName="") {
//take our best guess based on the document extension mapped to that subdirectory
set nam=$piece(nam,".",1,*-1)
set fileExt = $ZCONVERT($piece(Name, ".",*-0), "l")
if (fileExt = "cls" || fileExt = "rtn" || fileExt = "inc") {
if ((fileExt = "cls") || (fileExt = "rtn") || (fileExt = "inc")) {
set nam=$replace(nam, ..PercentClassReplace(), "%")
}
set nam=$translate(nam,"/",".")
Expand Down

0 comments on commit e5e0ba3

Please sign in to comment.