Trivial: Simplify Project.reinit by removing nested functions
When 95% of your function is nested, you're doing it wrong.
Move the function to be at the class level and private,
which makes the logic easier to follow and reduces indentation.
1 parent b6f7c39 commit cdf0da4da37f1577a283693bd37fbd9e3d6934b2
@Mathias Lang Mathias Lang authored on 29 Dec 2023
Mathias LANG committed on 2 Jan 2024
Showing 1 changed file
View
source/dub/project.d