We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dba3ff5 commit 18225edCopy full SHA for 18225ed
1 file changed
packages/utils/src/lib/git/git.commits-and-tags.ts
@@ -14,8 +14,8 @@ export async function getLatestCommit(
14
format: { hash: '%H', message: '%s', author: '%an', date: '%aI' },
15
});
16
return commitSchema.parse(log.latest);
17
- } catch (e) {
18
- ui().logger.error(stringifyError(e));
+ } catch (error) {
+ ui().logger.error(stringifyError(error));
19
return null;
20
}
21
0 commit comments