mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 16:44:09 +02:00
fix: parse without glob
This commit is contained in:
parent
5cb1eb8e27
commit
f44953ddf6
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ fn parse_files(files: Vec<PathBuf>) -> Result<Config> {
|
|||
}
|
||||
|
||||
pub fn parse(path: impl AsRef<Path>) -> Result<Config> {
|
||||
parse_files(glob_config_files(path))
|
||||
parse_files(vec![path.as_ref().into()])
|
||||
}
|
||||
|
||||
pub fn parse_glob(path: impl AsRef<Path>) -> Result<Config> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue