mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-19 20:13:23 +00:00
chore: merge
This commit is contained in:
commit
fde615ff3f
@ -8,6 +8,7 @@
|
|||||||
### Fixed
|
### Fixed
|
||||||
- Skip over file and prevent panic if info cannot be retrieved during file completion (due to permission error or anything else)
|
- Skip over file and prevent panic if info cannot be retrieved during file completion (due to permission error or anything else)
|
||||||
- Apply environment variables properly after 2.3 shell interpreter changes
|
- Apply environment variables properly after 2.3 shell interpreter changes
|
||||||
|
- hilbish.sink.readAll() function now reads data that doesn't end in a newline
|
||||||
|
|
||||||
## [2.3.3] - 2024-11-04
|
## [2.3.3] - 2024-11-04
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -104,6 +104,8 @@ func luaSinkReadAll(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
|||||||
line, err := s.Rw.ReadString('\n')
|
line, err := s.Rw.ReadString('\n')
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == io.EOF {
|
if err == io.EOF {
|
||||||
|
// We still want to add the data we read
|
||||||
|
lines = append(lines, line)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user