mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01:00
remove the nana filename string, add some exclusions to gitignore (#6228)
This commit is contained in:
parent
cdeb8de75d
commit
78a5067434
6
.gitignore
vendored
6
.gitignore
vendored
@ -29,3 +29,9 @@ debian/nu/
|
|||||||
# Coverage tools
|
# Coverage tools
|
||||||
lcov.info
|
lcov.info
|
||||||
tarpaulin-report.html
|
tarpaulin-report.html
|
||||||
|
|
||||||
|
# Visual Studio
|
||||||
|
.vs/*
|
||||||
|
*.rsproj
|
||||||
|
*.rsproj.user
|
||||||
|
*.sln
|
@ -565,13 +565,7 @@ pub fn eval_string_with_input(
|
|||||||
) -> Result<Value, ShellError> {
|
) -> Result<Value, ShellError> {
|
||||||
let (block, delta) = {
|
let (block, delta) = {
|
||||||
let mut working_set = StateWorkingSet::new(engine_state);
|
let mut working_set = StateWorkingSet::new(engine_state);
|
||||||
let (output, _) = parse(
|
let (output, _) = parse(&mut working_set, None, source.as_bytes(), false, &[]);
|
||||||
&mut working_set,
|
|
||||||
Some("nana"),
|
|
||||||
source.as_bytes(),
|
|
||||||
false,
|
|
||||||
&[],
|
|
||||||
);
|
|
||||||
|
|
||||||
(output, working_set.render())
|
(output, working_set.render())
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user