node-red/node-red — pull request #317 by hindessm (2014-07-31 07:42:17+00:00)
Title: Fix missing types logic.

missingTypes.length was greater than zero so the only way it can be
zero immediately afterwards is if splice is called so move the zero
check after the splice.

Despite what istanbul reports this function is covered by the tests.