Run dfmt on itself
This commit is contained in:
parent
12060fb92c
commit
ce128d8c62
|
@ -38,6 +38,7 @@ version (NoMain)
|
|||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
int main(string[] args)
|
||||
{
|
||||
import std.getopt : getopt;
|
||||
|
@ -84,7 +85,8 @@ else
|
|||
if (isDir(path))
|
||||
{
|
||||
inplace = true;
|
||||
foreach (string name; dirEntries(path, "*.d", SpanMode.depth))
|
||||
foreach (string name; dirEntries(path, "*.d",
|
||||
SpanMode.depth))
|
||||
{
|
||||
args ~= name;
|
||||
}
|
||||
|
@ -100,6 +102,7 @@ else
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in New Issue