(app, supportedAppExtensions)
| 113 | } |
| 114 | |
| 115 | function verifyAppExtension (app, supportedAppExtensions) { |
| 116 | if (supportedAppExtensions.includes(path.extname(app))) { |
| 117 | return app; |
| 118 | } |
| 119 | throw new Error(`New app path '${app}' did not have ` + |
| 120 | `${util.pluralize('extension', supportedAppExtensions.length, false)}: ` + |
| 121 | supportedAppExtensions); |
| 122 | } |
| 123 | |
| 124 | async function configureApp (app, supportedAppExtensions) { |
| 125 | if (!_.isString(app)) { |
no outgoing calls
no test coverage detected
searching dependent graphs…