Skip to content

Commit

Permalink
fix(cli): Use read_csv for tsvs
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Oct 21, 2024
1 parent 5530a19 commit 1bc6274
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn main() -> Result<()> {
format!("read_json(\"{}\")", args.file.display())
}
Some("tsv") => {
format!("read_tsv(\"{}\")", args.file.display())
format!("read_csv(\"{}\", delim=\"\\t\")", args.file.display())
}
_ => anyhow::bail!("Unsupported file type"),
};
Expand Down Expand Up @@ -168,4 +168,3 @@ fn get_quak_response(
.unwrap()),
}
}

0 comments on commit 1bc6274

Please sign in to comment.