Timothee Cour 2015-05-11 21:30:01 -07:00
parent fbd88477b8
commit d283576390
1 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,8 @@ string[] expandArgs(string[] args)
// isFile can throw if it's a broken symlink. // isFile can throw if it's a broken symlink.
bool isFileSafe(T)(T a) bool isFileSafe(T)(T a)
{ {
try{ try
{
return isFile(a); return isFile(a);
} }
catch(FileException) catch(FileException)