@@ -1305,7 +1305,7 @@ async function runClaude(
13051305 modelStrategy . recordAttempt ( task , true )
13061306
13071307 return result
1308- } catch ( e : unknown ) {
1308+ } catch ( e ) {
13091309 // Record failure for potential escalation
13101310 modelStrategy . recordAttempt ( task , false )
13111311
@@ -5033,7 +5033,7 @@ Fix all issues by making necessary file changes. Be direct, don't ask questions.
50335033 if ( exitCode !== 0 ) {
50345034 log . warn ( `Claude fix exited with code ${ exitCode } ` )
50355035 }
5036- } catch ( e : unknown ) {
5036+ } catch ( e ) {
50375037 const message = e instanceof Error ? e . message : String ( e )
50385038 log . warn ( `Claude fix error: ${ message } ` )
50395039 } finally {
@@ -5356,7 +5356,7 @@ Fix the issue by making necessary file changes. Be direct, don't ask questions.`
53565356 if ( exitCode !== 0 ) {
53575357 log . warn ( `Claude fix exited with code ${ exitCode } ` )
53585358 }
5359- } catch ( e : unknown ) {
5359+ } catch ( e ) {
53605360 const message = e instanceof Error ? e . message : String ( e )
53615361 log . warn ( `Claude fix error: ${ message } ` )
53625362 } finally {
@@ -5562,7 +5562,7 @@ async function runWatchMode(
55625562 } else {
55635563 log . done ( 'No issues found' )
55645564 }
5565- } catch ( e : unknown ) {
5565+ } catch ( e ) {
55665566 const message = e instanceof Error ? e . message : String ( e )
55675567 log . failed ( `Error scanning ${ project . name } : ${ message } ` )
55685568 }
@@ -5596,7 +5596,7 @@ async function runWatchMode(
55965596 } ,
55975597 )
55985598 }
5599- } catch ( e : unknown ) {
5599+ } catch ( e ) {
56005600 const message = e instanceof Error ? e . message : String ( e )
56015601 log . failed ( `Full scan error in ${ project . name } : ${ message } ` )
56025602 }
@@ -6005,7 +6005,7 @@ async function main(): Promise<void> {
60056005 }
60066006
60076007 process . exitCode = success ? 0 : 1
6008- } catch ( e : unknown ) {
6008+ } catch ( e ) {
60096009 const message = e instanceof Error ? e . message : String ( e )
60106010 log . error ( `Operation failed: ${ message } ` )
60116011 process . exitCode = 1
0 commit comments