balderdashy/sails — pull request #1642 by just-boris (2014-04-30 13:35:46+00:00)
Title: Change module existing check

Now you are checking hard-coded directory. But not everywhere modules are located there. This fix allows modules to be anywhere when it could be get using require function.
For example, I keep sails app in nested directory and override `appPath` to make it work. In this case it raises an error about missing module, but module is accessible using require function.