Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
domsleee committed Nov 15, 2023
1 parent e298f71 commit 6d06528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nu_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fn new_engine(pwd: &Path) -> (PathBuf, String, EngineState, Stack) {
"path".to_string(),
Value::String {
val: path_str.to_string(),
span: nu_protocol::Span::new(0, path_str.len()),
internal_span: nu_protocol::Span::new(0, path_str.len()),
},
);
let merge_result = engine_state.merge_env(&mut stack, &PathBuf::from(&dir_str));
Expand Down

0 comments on commit 6d06528

Please sign in to comment.