Skip to content

Commit

Permalink
fixed error in help message for sdf config
Browse files Browse the repository at this point in the history
  • Loading branch information
vsbuffalo committed Sep 9, 2023
1 parent 04c82e7 commit 1847526
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scidataflow"
version = "0.8.1"
version = "0.8.2"
edition = "2021"
exclude = ["logo.png", "tests/test_data/**"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/lib/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ impl Project {
let config_path = config_path()?;
let mut file = File::open(&config_path)
.map_err(|_| anyhow!("No SciDataFlow config found at \
{:?}. Please set with sdf config --user <NAME> \
[--email <EMAIL> --affil <AFFILIATION>]", &config_path))?;
{:?}. Please set with sdf config --name <NAME> \
[--email <EMAIL> --affiliation <AFFILIATION>]", &config_path))?;
let mut contents = String::new();
file.read_to_string(&mut contents)?;

Expand Down

0 comments on commit 1847526

Please sign in to comment.