Skip to content

Commit e5e0ba3

Browse files
committed
Fix issue with braces
1 parent e2fdf20 commit e5e0ba3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2504,8 +2504,7 @@ ClassMethod NameToInternalName(Name, IgnorePercent = 1, IgnoreNonexistent = 1, V
25042504
if (InternalName="") {
25052505
//take our best guess based on the document extension mapped to that subdirectory
25062506
set nam=$piece(nam,".",1,*-1)
2507-
set fileExt = $ZCONVERT($piece(Name, ".",*-0), "l")
2508-
if (fileExt = "cls" || fileExt = "rtn" || fileExt = "inc") {
2507+
if ((fileExt = "cls") || (fileExt = "rtn") || (fileExt = "inc")) {
25092508
set nam=$replace(nam, ..PercentClassReplace(), "%")
25102509
}
25112510
set nam=$translate(nam,"/",".")

0 commit comments

Comments
 (0)