Skip to content

Commit

Permalink
Fix for JoeStrout#155
Browse files Browse the repository at this point in the history
  • Loading branch information
marcgurevitx committed Jul 10, 2024
1 parent e85ec61 commit 110c8e5
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 @@ -736,6 +736,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 110c8e5

Please sign in to comment.