Commit fb50f83
fix: allow setting MagicDir in Options (#337)
- Unexports constants.MagicDir and moves it to an internal package.
- Moves other const/var declarations in `constants` package to where they are used
- Removes constants package
- Adds MagicDirBase to options (intentionally not configurable via CLI)
- Removes usages of default MagicDir to instead use path provided by options
Co-authored-by: Danny Kopping <dannykopping@gmail.com>
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
(cherry picked from commit e6c8c66)1 parent 8c364f5 commit fb50f83
File tree
8 files changed
+217
-143
lines changed- constants
- integration
- internal/magicdir
- options
8 files changed
+217
-143
lines changedThis file was deleted.
0 commit comments