Refactor loadConfig to not rely on class state
By making it take a parameter and return a value, we make it
more obvious what is being used and changed, and we document
that rootPath is the only class member being read,
which is a fair assumption for any method of Dub.
1 parent a86d81c commit 58ecc1fe880a1f0c512fc3b53ef73e088606d830
@Mathias Lang Mathias Lang authored on 26 Dec 2023
The Dlang Bot committed on 26 Dec 2023
Showing 1 changed file
View
source/dub/dub.d