diff --git a/source/dub/commandline.d b/source/dub/commandline.d index 35cf23d..23e36da 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -24,7 +24,6 @@ import std.algorithm; import std.array; -import std.datetime: Clock; import std.conv; import std.encoding; import std.exception; @@ -479,6 +478,8 @@ } void depCallback(ref PackageRecipe p, ref PackageFormat fmt) { + import std.datetime: Clock; + if (m_nonInteractive) return; while (true) {