Skip to content

Commit

Permalink
[Pharo] Adapt to changed Smalltalk>>#saveAs: return value
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Feb 16, 2024
1 parent 387ecd0 commit 5726cb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion benchmarks/Smalltalk/build-image-part2.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ loader createMethods.
ScriptConsole println: '== Safe and Exit'.

starting := Smalltalk saveAs: 'AWFY_Pharo'.
starting ifTrue: [ ^ self ].
(starting respondsTo: #isImageStarting)
ifTrue: [ starting isImageStarting ifTrue: [ ^ self ] ]
ifFalse: [ starting ifTrue: [ ^ self ] ].

runner hasPassed
ifTrue: [ Smalltalk exit: 0 ]
Expand Down

0 comments on commit 5726cb1

Please sign in to comment.