Skip to content

Commit

Permalink
Fix for JoeStrout#155
Browse files Browse the repository at this point in the history
  • Loading branch information
marcgurevitx authored and borgi committed Nov 21, 2024
1 parent 9976661 commit 01d0f8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MiniScript-cpp/src/ShellIntrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,7 @@ static IntrinsicResult intrinsic_readLines(Context *context, IntrinsicResult par
partialLine = String(&buf[lineStart], bytesRead - lineStart);
}
}
if (!partialLine.empty()) list.Add(partialLine);
fclose(handle);
return IntrinsicResult(list);
}
Expand Down

0 comments on commit 01d0f8b

Please sign in to comment.