hollandben/grunt-cache-bust — pull request #33 by thujikun (2014-04-22 06:36:36+00:00)
Title: avoid getting multiple same path in findStaticAssets

when same paths is written many times in a html file, hash parameter is inserted many times to the path.

for example, when following code is in HTML file,
<img src="/img/common/t.gif">
<img src="/img/common/t.gif">
grunt-cache-bust genarate following html.
<img src="/img/common/t.gif?cbcee5d614fdd537?cbcee5d614fdd537">
<img src="/img/common/t.gif?cbcee5d614fdd537?cbcee5d614fdd537">

So I fixed findStaticAssets method to avoid getting multiple same path.