Add some error messages for the developer when .service.js is malformed When loading `.service.js` files which don’t contain services, such as when the export is forgotten, print helpful error messages. This will only occur during development; the unit tests will catch these problems well before code reaches the server.
4 lines
34 B
JavaScript
4 lines
34 B
JavaScript
'use strict'
|
|
|
|
module.exports = []
|