From a8fd1487a835cc1850a0054fd70556d97dcaf76b Mon Sep 17 00:00:00 2001 From: Eduard Staniloiu Date: Mon, 12 Feb 2024 16:31:04 +0200 Subject: [PATCH] Fix style errors --- src/dscanner/main.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dscanner/main.d b/src/dscanner/main.d index 932e3f9..f9955b2 100644 --- a/src/dscanner/main.d +++ b/src/dscanner/main.d @@ -140,7 +140,7 @@ else // users can use verbose to enable all logs (this will log things like // dsymbol couldn't find some modules due to wrong import paths) static if (__VERSION__ >= 2_101) - (cast()sharedLog).logLevel = verbose ? LogLevel.all : LogLevel.error; + (cast() sharedLog).logLevel = verbose ? LogLevel.all : LogLevel.error; else globalLogLevel = verbose ? LogLevel.all : LogLevel.error; } @@ -204,9 +204,9 @@ else if (excludePaths.length) { string[] newArgs = [expanded[0]]; - foreach(arg; args[1 .. $]) + foreach (arg; args[1 .. $]) { - if(!excludePaths.map!(p => arg.isSubpathOf(p)) + if (!excludePaths.map!(p => arg.isSubpathOf(p)) .fold!((a, b) => a || b)) newArgs ~= arg; }