mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 11:35:43 +02:00
Add string stream and binary stream, add text decoding (#570)
* WIP * Add binary/string streams and text decoding * Make string collection fallible * Oops, forgot pretty hex * Oops, forgot pretty hex * clippy
This commit is contained in:
@ -435,7 +435,7 @@ pub fn eval_subexpression(
|
||||
|
||||
let config = stack.get_config().unwrap_or_default();
|
||||
|
||||
let mut s = input.collect_string("", &config);
|
||||
let mut s = input.collect_string("", &config)?;
|
||||
if s.ends_with('\n') {
|
||||
s.pop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user