Skip to content

Commit

Permalink
Don't tell people to use the CLI's initialize command. (#414)
Browse files Browse the repository at this point in the history
### What

The CLI is typically intended to be used as a plugin to `ddn`, which
only exposes `update`, not `initialize`. Telling people to use this
doesn't really help them.

### How

I used my big `Delete` button.
  • Loading branch information
SamirTalwar authored Apr 8, 2024
1 parent d695f98 commit 216840b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ async fn read_config_file_contents(configuration_file_path: &PathBuf) -> anyhow:
.map_err(|err| {
if err.kind() == std::io::ErrorKind::NotFound {
anyhow::anyhow!(
"{}: No such file or directory. Perhaps you meant to 'initialize' first?",
"{}: No such file or directory.",
configuration_file_path.display()
)
} else {
anyhow::anyhow!(err)
err.into()
}
})
}

0 comments on commit 216840b

Please sign in to comment.