Check the package.json to see whether this is a sails app (instead of looking for api/controllers.