Skip to content

Commit

Permalink
style: fix typo in variable name and mark as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-shuliu committed Feb 5, 2025
1 parent 2e6f8dc commit ea3fadd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/cls/IPM/Main.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,7 @@ ClassMethod Load(ByRef pCommandInfo) [ Internal ]
Set tempRepo.Root = dotModules
Set tempRepo.Snapshots = 1
Set tempRepo.Prereleases = 1
Set tempRepo.OveriddenSortOrder = -1000 // Make sure this is the first repo to be found by SQL query in %IPM.Repo.Manager:SearchRepositoriesForModule
Set tempRepo.OverriddenSortOrder = -1000 // Make sure this is the first repo to be found by SQL query in %IPM.Repo.Manager:SearchRepositoriesForModule
$$$ThrowOnError(tempRepo.BuildCache(1,1,1))
}
Set tSC = ##class(%IPM.Utils.Module).LoadNewModule(tTargetDirectory, .tParams)
Expand Down
8 changes: 4 additions & 4 deletions src/cls/IPM/Repo/Definition.cls
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Property Prereleases As %Boolean [ InitialExpression = 0 ];
/// If set to a non-empty value, this will be used as the sort order for this repository, bypassing the GetSortOrder() method.
/// This should be only configured by IPM during certain processes (e.g., installing depdenencies from .modules directory).
/// There is no current plan to support configuring this from the package manager shell.
Property OveriddenSortOrder As %Integer;
Property OverriddenSortOrder As %Integer [ Internal ];

ClassMethod %GetCommandStructure(Output pCommandStructure)
{
Expand Down Expand Up @@ -85,8 +85,8 @@ Method GetPublishService() As %IPM.Repo.IPublishService [ Abstract ]
ClassMethod SortOrder(pID As %String) As %Integer [ SqlProc ]
{
Set tServer = ..%OpenId(pID)
If tServer.OveriddenSortOrder '= "" {
Quit tServer.OveriddenSortOrder
If tServer.OverriddenSortOrder '= "" {
Quit tServer.OverriddenSortOrder
}
Quit tServer.GetSortOrder()
}
Expand Down Expand Up @@ -292,7 +292,7 @@ Storage Default
<Value>ReadOnly</Value>
</Value>
<Value name="13">
<Value>OveriddenSortOrder</Value>
<Value>OverriddenSortOrder</Value>
</Value>
</Data>
<DataLocation>^IPM.Repo.DefinitionD</DataLocation>
Expand Down

0 comments on commit ea3fadd

Please sign in to comment.