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:
Michael Angerman 2023-12-17 20:20:31 -08:00 committed by GitHub
parent c2283596ac
commit ec2593efb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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());