Skip to content

Commit 4fe72a0

Browse files
author
ksaduest
committed
code review changes
1 parent 0742079 commit 4fe72a0

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

cls/SourceControl/Git/Extension.cls

+6-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,12 @@ Method OnSourceMenuItem(name As %String, ByRef Enabled As %String, ByRef Display
182182
}
183183

184184
set settings = ##class(SourceControl.Git.Settings).%New()
185-
if settings.lockBranch = 1 {set BranchLocked = -1} else {set BranchLocked = 1}
185+
if settings.lockBranch = 1
186+
{
187+
set BranchLocked = -1
188+
} else {
189+
set BranchLocked = 1
190+
}
186191

187192
if ##class(SourceControl.Git.Utils).BasicMode() {
188193
set Enabled = $CASE(name,

cls/SourceControl/Git/Utils.cls

+2-2
Original file line numberDiff line numberDiff line change
@@ -2981,8 +2981,8 @@ ClassMethod BaselineExport(pCommitMessage = "", pPushToRemote = "") As %Status
29812981
try {
29822982
write !, "Exporting items..."
29832983
set rs = ##class(%Library.RoutineMgr).StudioOpenDialogFunc(
2984-
"*.mac,*.int,*.inc,*.cls,*.csp" // Spec - HL7 and LUT
2985-
, , ,0 // SystemFiles - may already filter out base schemas?
2984+
"*.mac,*.int,*.inc,*.cls,*.csp"
2985+
, , ,0 // SystemFiles
29862986
,1 // Flat
29872987
,0 // NotStudio
29882988
,0 // ShowGenerated

0 commit comments

Comments
 (0)