diff --git a/source/dub/commandline.d b/source/dub/commandline.d index 2089017..a2347e1 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -335,7 +335,7 @@ // Checks if argument uses current method of specifying project type. if (free_args.length) { - if (free_args[0].among("vibe.d", "deimos", "minimal")) + if (["vibe.d", "deimos", "minimal"].canFind(free_args[0])) { m_buildType = free_args[0]; free_args = free_args[1 .. $];