MCPcopy Create free account
hub / github.com/CodeForBreakfast/eventsourcing / handleGitDiffFailure

Function handleGitDiffFailure

scripts/validate-changesets.ts:304–309  ·  view source on GitHub ↗
(terminal: Terminal.Terminal)

Source from the content-addressed store, hash-verified

302 output.split('\n').filter((file) => file.length > 0);
303
304const handleGitDiffFailure = (terminal: Terminal.Terminal) => () =>
305 pipe(
306 terminal,
307 (t) => t.display('⚠️ Could not determine changed files, assuming this is not a PR\n'),
308 Effect.as([] as readonly string[])
309 );
310
311const runGitDiff = (terminal: Terminal.Terminal) => {
312 const baseBranch = getBaseBranch();

Callers 1

runGitDiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected