(filePath: string, baseBranch: string)
| 405 | ); |
| 406 | |
| 407 | const getPackageJsonDiff = (filePath: string, baseBranch: string) => |
| 408 | pipe( |
| 409 | Command.make('git', 'show', `${baseBranch}:${filePath}`), |
| 410 | Command.string, |
| 411 | Effect.map(parseJsonSafely), |
| 412 | Effect.catchAll(() => Effect.succeed(null)), |
| 413 | Effect.flatMap((beforeContent) => fetchAfterPackageJson(beforeContent, filePath)) |
| 414 | ); |
| 415 | |
| 416 | const isDependencyOnlyPackageJsonChange = (file: string, baseBranch: string) => |
| 417 | pipe( |
no test coverage detected