mirror of
https://github.com/nushell/nushell.git
synced 2024-11-21 16:03:19 +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
|
||||
lcov.info
|
||||
tarpaulin-report.html
|
||||
|
||||
# Visual Studio
|
||||
.vs/*
|
||||
*.rsproj
|
||||
*.rsproj.user
|
||||
*.sln
|
@ -565,13 +565,7 @@ pub fn eval_string_with_input(
|
||||
) -> Result<Value, ShellError> {
|
||||
let (block, delta) = {
|
||||
let mut working_set = StateWorkingSet::new(engine_state);
|
||||
let (output, _) = parse(
|
||||
&mut working_set,
|
||||
Some("nana"),
|
||||
source.as_bytes(),
|
||||
false,
|
||||
&[],
|
||||
);
|
||||
let (output, _) = parse(&mut working_set, None, source.as_bytes(), false, &[]);
|
||||
|
||||
(output, working_set.render())
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user