mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
remove the nana filename string, add some exclusions to gitignore (#6228)
This commit is contained in:
parent
cdeb8de75d
commit
78a5067434
2 changed files with 7 additions and 7 deletions
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 a new issue