mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01:00
nu-cli repl get_command_finished_marker() does not need to be pub (#11362)
```rust fn get_command_finished_marker ``` does not need to be public so just doing a little code cleanup
This commit is contained in:
parent
c2283596ac
commit
ec2593efb8
@ -773,7 +773,7 @@ fn map_nucursorshape_to_cursorshape(shape: NuCursorShape) -> Option<SetCursorSty
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_command_finished_marker(stack: &Stack, engine_state: &EngineState) -> String {
|
||||
fn get_command_finished_marker(stack: &Stack, engine_state: &EngineState) -> String {
|
||||
let exit_code = stack
|
||||
.get_env_var(engine_state, "LAST_EXIT_CODE")
|
||||
.and_then(|e| e.as_i64().ok());
|
||||
|
Loading…
Reference in New Issue
Block a user