feat(config): create a proper config file with proper settings manipulation
This commit is contained in:
@@ -18,7 +18,7 @@ impl Clone for ApiProps {
|
||||
}
|
||||
|
||||
pub fn get_api_props() -> ApiProps {
|
||||
let remote = match config::get("remote") {
|
||||
let remote = match config::get_remote("origin") {
|
||||
Some(r) => r,
|
||||
None => {
|
||||
eprintln!("fatal: unable to find a remote");
|
||||
|
||||
Reference in New Issue
Block a user