( options: UseSubpathsCodemodOptions )
| 5 | const transformPath = path.join(__dirname, 'codemod.js'); |
| 6 | |
| 7 | export async function use_subpaths( |
| 8 | options: UseSubpathsCodemodOptions |
| 9 | ): Promise<ReturnType<typeof jscodeshift>> { |
| 10 | let {path: filePath = '.', ...rest} = options; |
| 11 | |
| 12 | return await jscodeshift(transformPath, [filePath], rest); |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected