Skip to content

Commit

Permalink
Merge pull request #105 from GsDevKit/fix-issue-104
Browse files Browse the repository at this point in the history
Fix issue 104
  • Loading branch information
jbrichau committed May 26, 2024
2 parents 01210a4 + 5a47e5e commit 5c46bab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
smalltalk: [ GemStone64-3.7.0, GemStone64-3.5.8, GemStone64-3.6.8 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ next: count putAll: collection startingAt: offset
ifTrue: [ stream next: count putAll: collection startingAt: offset ]
ifFalse: [
buffer := ByteArray new: count.
buffer replaceFrom: 1 to: count with: collection asByteArray startingAt: offset.
buffer replaceFrom: 1 to: count with: collection startingAt: offset.
stream nextPutAll: buffer ] ]
ifFalse: [
(collection isKindOf: ByteArray)
ifTrue: [
buffer := String new: count.
buffer replaceFrom: 1 to: count with: collection asString startingAt: offset.
buffer replaceFrom: 1 to: count with: collection startingAt: offset.
stream nextPutAll: buffer ]
ifFalse: [ stream next: count putAll: collection startingAt: offset ] ]

0 comments on commit 5c46bab

Please sign in to comment.