From 47ecddd30a84ae71fc720e364f0008f7afc0d92f Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Wed, 13 Aug 2014 17:30:29 -0700 Subject: [PATCH] Don't filter files on the command line by extension --- main.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.d b/main.d index c4cb5a2..53b602e 100644 --- a/main.d +++ b/main.d @@ -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)) {