Skip to content

Commit 94d2abd

Browse files
committed
Simplified os logic
1 parent 96e1b59 commit 94d2abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/SourceControl/Git/Settings.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Method ConfigureBinPath(ByRef path As %String) As %Boolean
354354
// Sometimes path is quoted
355355
set path = $replace(path,"""","")
356356
if (##class(%File).DirectoryExists(path)) {
357-
set gitFile = $case($zversion(1),2:"git.exe",3:"git",0:"git")
357+
set gitFile = $case($$$isWINDOWS,1:"git.exe",:"git")
358358
set path = ##class(%File).Construct(path, gitFile)
359359
}
360360

0 commit comments

Comments
 (0)