SlexAxton/require-handlebars-plugin — pull request #97 by RayPatterson (2013-03-08 01:00:07+00:00)
Title: Added a check for an empty dependency item. Was causing an error.

When the array is empty, the replace method was causing an error. I don't know the root cause of the issue (why the array is empty) but checking this condition allows the program to continue.