Skip to content

Commit

Permalink
Use ifTrue:ifFalse: in postLoadInitialization
Browse files Browse the repository at this point in the history
At the moment of executing the code, that extension is not yet loaded
  • Loading branch information
jvanecek committed Aug 28, 2024
1 parent c123dc6 commit 073c3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/BaselineOfAnsible/BaselineOfAnsible.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ BaselineOfAnsible >> postLoadInitialization [
different Pharo versions (SocketError was introduced in Pharo 11) "

Smalltalk at: #ExpectedSocketFailure put: ( ( Smalltalk includesKey: #SocketError )
then: [ Smalltalk at: #SocketError ]
otherwise: [ PrimitiveFailed ] )
ifTrue: [ Smalltalk at: #SocketError ]
ifFalse: [ PrimitiveFailed ] )
]

{ #category : 'accessing' }
Expand Down

0 comments on commit 073c3b0

Please sign in to comment.