Timothee Cour 2015-05-11 21:28:09 -07:00
parent 42923725cb
commit fbd88477b8
1 changed files with 4 additions and 2 deletions

View File

@ -278,11 +278,13 @@ int run(string[] args)
string[] expandArgs(string[] args)
{
// isFile can throw if it's a broken symlink.
bool isFileSafe(T)(T a){
bool isFileSafe(T)(T a)
{
try{
return isFile(a);
}
catch{
catch(FileException)
{
return false;
}
}