Don't filter files on the command line by extension

This commit is contained in:
Hackerpilot 2014-08-13 17:30:29 -07:00
parent 75a6436f58
commit 47ecddd30a
1 changed files with 1 additions and 1 deletions

2
main.d
View File

@ -251,7 +251,7 @@ string[] expandArgs(string[] args)
args ~= ".";
foreach (arg; args[1 ..$])
{
if (isFile(arg) && (arg.endsWith(`.d`) || arg.endsWith(`.di`)))
if (isFile(arg))
rVal ~= arg;
else foreach (item; dirEntries(arg, SpanMode.breadth).map!(a => a.name))
{