OverZealous/run-sequence — pull request #15 by oojacoboo (2014-11-10 04:11:35+00:00)
Title: Made require fail gracefully for gulp

When calling require("run-sequence).use(gulp), run-sequence is being constructed prior to the use() method being called. Therefore, the require("gulp") call is getting fired. We should use require.resolve() to prevent this from throwing an exception for those wanting to use the use() method. Otherwise, gulp should be optionally passed into the constructor as an argument. Unfortunately, this module isn't written with a well defined constructor, so that'd be a fair bit of rewriting.