style: Use "FILE_NAME" instead of "FILENAME" to be consistent with Rust std::path naming convention
This commit is contained in:
parent
54b303f632
commit
dec35b4c8f
@ -5,10 +5,10 @@ use mwbot::parsoid::WikiMultinode;
|
||||
use dirs::config_dir;
|
||||
|
||||
const CONFIG_TEMPLATE_PATH: &'static str = "mwbot_template.toml";
|
||||
const BOT_CONFIG_FILENAME: &'static str = "mwbot.toml";
|
||||
const BOT_CONFIG_FILE_NAME: &'static str = "mwbot.toml";
|
||||
|
||||
fn get_bot_config_path() -> PathBuf {
|
||||
config_dir().unwrap().join(BOT_CONFIG_FILENAME)
|
||||
config_dir().unwrap().join(BOT_CONFIG_FILE_NAME)
|
||||
}
|
||||
|
||||
#[derive(Parser)]
|
||||
|
Loading…
Reference in New Issue
Block a user