mirror of
https://github.com/nushell/nushell.git
synced 2025-08-12 06:03:13 +02:00
Get stream errors working
This commit is contained in:
@ -113,7 +113,7 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
|
||||
|
||||
let (obj, cwd) = {
|
||||
let env = context.env.lock().unwrap();
|
||||
let last = env.last().unwrap();
|
||||
let last = env.back().unwrap();
|
||||
(last.obj().clone(), last.path().display().to_string())
|
||||
};
|
||||
let readline = match obj {
|
||||
|
Reference in New Issue
Block a user