From ee7b71a2e5dab0022279d76cb87dab3f4e33cd1b Mon Sep 17 00:00:00 2001 From: David Burrows Date: Thu, 3 Jul 2014 13:41:45 +0100 Subject: [PATCH] Make executable process file regardless of extension if file path (not directory path) is passed in as arg --- bin/htmlhint | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) mode change 100644 => 100755 bin/htmlhint diff --git a/bin/htmlhint b/bin/htmlhint old mode 100644 new mode 100755 index 1dd153bdd..50c964547 --- a/bin/htmlhint +++ b/bin/htmlhint @@ -79,7 +79,16 @@ function getAllFiles(arrTargets){ var arrAllFiles = []; if(arrTargets.length > 0){ for(var i=0,l=arrTargets.length;i