Skip to content

Commit

Permalink
feat: trim token (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlienard authored Apr 15, 2024
1 parent 810c390 commit 5ce42e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ impl Config {
}
None => return Ok(false),
};
let token = token.trim();

let (dir_path, token_path, _) = Config::get_paths();

Expand Down

0 comments on commit 5ce42e1

Please sign in to comment.