Skip to content

Commit

Permalink
Merge pull request #167 from frankwswang/dev
Browse files Browse the repository at this point in the history
0.5-IO-Debug Dev
  • Loading branch information
frankwswang authored May 22, 2023
2 parents 1f6ba6b + 39074c7 commit 6aff0d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Quiqbox"
uuid = "7cb8c394-fae1-4ab9-92f2-30189d7746cd"
version = "0.5.6"
version = "0.5.7"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Expand Down
6 changes: 5 additions & 1 deletion src/FileIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ function cropStrR(str::String, maxLen::Int)
if maxLen > strLen
rpad(str, maxLen)
else
str[begin:maxLen]
i = 0
mapreduce(*, 1:maxLen) do _
i = nextind(str, i)
str[i]
end
end
end

Expand Down

2 comments on commit 6aff0d5

@frankwswang
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/84004

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.7 -m "<description of version>" 6aff0d5f343a39103f1b5761c1b9203877f9af1f
git push origin v0.5.7

Please sign in to comment.