Skip to content

Commit 2390cd5

Browse files
committed
Merge branch 'feature/improved-console-support' into develop
2 parents 7517d23 + e867ffa commit 2390cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpctags

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if(isset($options['recurse'])) {
7979

8080
$ctags = new PHPCtags();
8181
$result = '';
82-
if (isset($options['R'])) {
82+
if (is_dir($file) && isset($options['R'])) {
8383
$iterator = new RecursiveIteratorIterator(
8484
new RecursiveDirectoryIterator(
8585
$file,

0 commit comments

Comments
 (0)