Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 6241ab6

Browse files
committed
Cleanup
1 parent 530fcaf commit 6241ab6

File tree

1 file changed

+2
-4
lines changed
  • docker-images/syntax-highlighter/crates/scip-treesitter-cli/src

1 file changed

+2
-4
lines changed

docker-images/syntax-highlighter/crates/scip-treesitter-cli/src/main.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fn index_command(
7777
) {
7878
let p = BundledParser::get_parser(language).unwrap();
7979

80-
let working_directory: String = cwd.clone().unwrap_or("./".to_string()); //= cwd.map(|p| Path::new(p.as_str())).unwrap_or(Path::new("./"));
80+
let working_directory: String = cwd.clone().unwrap_or("./".to_string());
8181
let working_path = Path::new(&working_directory);
8282

8383
let mut index = scip::types::Index {
@@ -210,9 +210,7 @@ mod tests {
210210
);
211211

212212
cmd.current_dir(out_dir)
213-
.arg("index")
214-
.args(["-l", "java", "-o", &out_path])
215-
.arg("globals.java");
213+
.args(["index", "-l", "java", "-o", &out_path, "globals.java"]);
216214

217215
cmd.assert().success();
218216

0 commit comments

Comments
 (0)