mirror of
https://github.com/nushell/nushell.git
synced 2025-08-17 11:21:23 +02:00
Add a config variable with engine support (#332)
* Add a config variable with engine support * Add a config variable with engine support * Oops, cleanup
This commit is contained in:
@ -429,7 +429,9 @@ pub fn eval_subexpression(
|
||||
// to be used later
|
||||
// FIXME: the trimming of the end probably needs to live in a better place
|
||||
|
||||
let mut s = input.collect_string("");
|
||||
let config = stack.get_config()?;
|
||||
|
||||
let mut s = input.collect_string("", &config);
|
||||
if s.ends_with('\n') {
|
||||
s.pop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user