Skip to content

[BUG] glob patterns do not resolve when passed through the command line #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gnikit opened this issue Jun 8, 2022 · 0 comments · Fixed by #144
Closed

[BUG] glob patterns do not resolve when passed through the command line #142

gnikit opened this issue Jun 8, 2022 · 0 comments · Fixed by #144
Assignees
Labels
bug Something isn't working

Comments

@gnikit
Copy link
Member

gnikit commented Jun 8, 2022

Describe the bug
glob patterns are not resolved if we pass them through the command line

To Reproduce
fortls --debug_filepath your_file.f90 --debug_rootpath . --source_dirs "./**".

@gnikit gnikit added the bug Something isn't working label Jun 8, 2022
@gnikit gnikit self-assigned this Jun 8, 2022
gnikit added a commit that referenced this issue Jun 8, 2022
Fixes #142

1. Changes the container of `incl_suffixes` from a list to a set
2. Also, now the following options defined in the cmd interface will not
   be initialised to empty sets when a json config file is present.
      -  `excl_paths`
      - `source_dirs`
      - `incl_suffixes`
      - `excl_suffixes`
      - `include_dirs`

Fixes #143
gnikit added a commit that referenced this issue Jun 8, 2022
Fixes #142

1. Changes the container of `incl_suffixes` from a list to a set
2. Also, now the following options defined in the cmd interface will not
   be initialised to empty sets when a json config file is present.
      -  `excl_paths`
      - `source_dirs`
      - `incl_suffixes`
      - `excl_suffixes`
      - `include_dirs`

Fixes #143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant