git helpers #746
Annotations
3 errors
build:
packages/core/src/git.ts#L7
The `GitClient` class methods do not have error handling. If any of the `runtimeHost.exec` calls fail, it will result in an unhandled promise rejection. Consider adding try-catch blocks to handle potential errors. 😊
|
build:
packages/core/src/git.ts#L34
The logic inside the `findModifiedFiles` method is quite complex and hard to follow. Consider breaking it down into smaller, more manageable functions. This will make the code easier to read and maintain. 😊
|
build:
packages/core/src/glob.ts#L14
The `isGlobMatch` function now has an optional `options` parameter, but there are no checks to ensure that `options` is defined before it's used. This could potentially lead to runtime errors. Consider adding checks to ensure `options` is defined before using it. 😊
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
genai-results
|
24.8 KB |
|