Fix style errors
This commit is contained in:
parent
fe8618844d
commit
a8fd1487a8
|
|
@ -140,7 +140,7 @@ else
|
||||||
// users can use verbose to enable all logs (this will log things like
|
// users can use verbose to enable all logs (this will log things like
|
||||||
// dsymbol couldn't find some modules due to wrong import paths)
|
// dsymbol couldn't find some modules due to wrong import paths)
|
||||||
static if (__VERSION__ >= 2_101)
|
static if (__VERSION__ >= 2_101)
|
||||||
(cast()sharedLog).logLevel = verbose ? LogLevel.all : LogLevel.error;
|
(cast() sharedLog).logLevel = verbose ? LogLevel.all : LogLevel.error;
|
||||||
else
|
else
|
||||||
globalLogLevel = verbose ? LogLevel.all : LogLevel.error;
|
globalLogLevel = verbose ? LogLevel.all : LogLevel.error;
|
||||||
}
|
}
|
||||||
|
|
@ -204,9 +204,9 @@ else
|
||||||
if (excludePaths.length)
|
if (excludePaths.length)
|
||||||
{
|
{
|
||||||
string[] newArgs = [expanded[0]];
|
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))
|
.fold!((a, b) => a || b))
|
||||||
newArgs ~= arg;
|
newArgs ~= arg;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue