mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue