make AddCommand only determine filetype once
Instead of checking whether package format is sdl or json for every dependency, calculate it once before the loop
1 parent 23b04b6 commit 4644f7e3af548ce0fe038b9a93a361e69afe818c
@Flying-Toast Flying-Toast authored on 4 Nov 2018
GitHub committed on 4 Nov 2018
Showing 1 changed file
View
source/dub/commandline.d