[wp-trac] [WordPress Trac] #25992: grunt jshint file filtering fails with long filenames

WordPress Trac noreply at wordpress.org
Thu Nov 14 13:09:06 UTC 2013


#25992: grunt jshint file filtering fails with long filenames
--------------------------+-----------------------------
 Reporter:  atimmer       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Build Tools   |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 "grunt jshint:core --file=password-strength-meter.js" shows more than only
 password-strength-meter.js because other paths for other files are the
 same length as the whole filename.

 Attached patch fixes this by making sure indexOf is not -1.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25992>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list