(modulePath)
| 1181 | |
| 1182 | // get the list of `.node` files for the given module path |
| 1183 | getModulePathNodeFiles(modulePath) { |
| 1184 | try { |
| 1185 | const modulePathNodeFiles = fs.listSync( |
| 1186 | path.join(modulePath, 'build', 'Release'), |
| 1187 | ['.node'] |
| 1188 | ); |
| 1189 | return modulePathNodeFiles; |
| 1190 | } catch (error) { |
| 1191 | return []; |
| 1192 | } |
| 1193 | } |
| 1194 | |
| 1195 | // Get a Map of all the native modules => the `.node` files that this package depends on. |
| 1196 | // |
no outgoing calls
no test coverage detected