-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace LP_DISABLED_VCS_PATH with array variable
Having a config var that stores paths as one string separated by a specific char is a error waiting to happen. It's much safer (and easier to read) to use a true array. This would be a breaking change, so deprecate LP_DISABLED_VCS_PATH, and add LP_DISABLED_VCS_PATHS array. Add a conversion function in the config file loading section. An example config change would be: LP_DISABLED_VCS_PATH="/my/one/path:/my/other/path" to LP_DISABLED_VCS_PATHS=("/my/one/path" "/my/other/path")
- Loading branch information
Showing
2 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters