(host: Tree, mainPath: string)
| 79 | } |
| 80 | |
| 81 | export function isStandaloneApp(host: Tree, mainPath: string): boolean { |
| 82 | try { |
| 83 | findBootstrapApplicationCall(host, mainPath); |
| 84 | |
| 85 | return true; |
| 86 | } catch (error) { |
| 87 | if (error instanceof SchematicsException) { |
| 88 | return false; |
| 89 | } |
| 90 | |
| 91 | throw error; |
| 92 | } |
| 93 | } |
no test coverage detected