(self)
| 54 | } |
| 55 | |
| 56 | function appName (self) { |
| 57 | var counter = 0, suffix = self.options['app-suffix']; |
| 58 | // Have to check this because of generator bug #386 |
| 59 | process.argv.forEach(function(val) { |
| 60 | if (val.indexOf('--app-suffix') > -1) { |
| 61 | counter++; |
| 62 | } |
| 63 | }); |
| 64 | if (counter === 0 || (typeof suffix === 'boolean' && suffix)) { |
| 65 | suffix = 'App'; |
| 66 | } |
| 67 | return suffix ? self._.classify(suffix) : ''; |
| 68 | } |
| 69 | |
| 70 | |
| 71 | module.exports = { |
nothing calls this directly
no outgoing calls
no test coverage detected