File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ export function registerFoldersIpc(): void {
326326 try {
327327 return await cleanupOrphanedWorktreesForFolder ( mainRepoPath ) ;
328328 } catch ( error ) {
329- console . error (
329+ log . error (
330330 `Failed to cleanup orphaned worktrees for ${ mainRepoPath } :` ,
331331 error ,
332332 ) ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export const useRegisteredFoldersStore = create<RegisteredFoldersState>()(
4646 get ( )
4747 . cleanupOrphanedWorktrees ( folder . path )
4848 . catch ( ( error ) => {
49- console . error (
49+ log . error (
5050 `Failed to cleanup orphaned worktrees for ${ folder . path } :` ,
5151 error ,
5252 ) ;
@@ -131,7 +131,7 @@ export const useRegisteredFoldersStore = create<RegisteredFoldersState>()(
131131 mainRepoPath ,
132132 ) ;
133133 } catch ( error ) {
134- console . error ( "Failed to cleanup orphaned worktrees:" , error ) ;
134+ log . error ( "Failed to cleanup orphaned worktrees:" , error ) ;
135135 return {
136136 deleted : [ ] ,
137137 errors : [ { path : mainRepoPath , error : String ( error ) } ] ,
You can’t perform that action at this time.
0 commit comments