remove the nana filename string, add some exclusions to gitignore (#6228)

This commit is contained in:
Darren Schroeder 2022-08-04 15:26:34 -05:00 committed by GitHub
parent cdeb8de75d
commit 78a5067434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

6
.gitignore vendored
View File

@ -29,3 +29,9 @@ debian/nu/
# Coverage tools
lcov.info
tarpaulin-report.html
# Visual Studio
.vs/*
*.rsproj
*.rsproj.user
*.sln

View File

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