Skip to content

Commit

Permalink
Remove accidentally commited config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevithakannan2 committed Nov 15, 2024
1 parent 78b7c3f commit a0752ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion config.toml

This file was deleted.

2 changes: 1 addition & 1 deletion core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct ConfigValues {
}

impl Config {
pub fn new(path: &Path, tabs: &TabList) -> ConfigValues {
pub fn read_config(path: &Path, tabs: &TabList) -> ConfigValues {
let content = match fs::read_to_string(path) {
Ok(content) => content,
Err(e) => {
Expand Down
2 changes: 1 addition & 1 deletion tui/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl AppState {
state.update_items();

if let Some(config_path) = args.config {
let config = Config::new(&config_path, &state.tabs);
let config = Config::read_config(&config_path, &state.tabs);
state.apply_config(config);
}

Expand Down

0 comments on commit a0752ae

Please sign in to comment.