Skip to content

Commit

Permalink
fix pimalaya-tui package name
Browse files Browse the repository at this point in the history
  • Loading branch information
soywod committed Sep 1, 2024
1 parent b92d7b4 commit cce0baf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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.

6 changes: 5 additions & 1 deletion src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ pub struct Config {
pub account: Option<AccountsConfig>,
}

impl TomlConfig<AccountConfig> for Config {}
impl TomlConfig<AccountConfig> for Config {
fn project_name() -> &'static str {
env!("CARGO_PKG_NAME")
}
}

impl Config {
/// Create and save a TOML configuration using the wizard.
Expand Down

0 comments on commit cce0baf

Please sign in to comment.