@@ -208,7 +208,7 @@ async function getWorkspaceCacheVersion() {
208208 cachedWorkspaceCacheVersion =
209209 actionYaml ?. inputs ?. [ 'cache-version' ] ?. default || 'v1'
210210 return cachedWorkspaceCacheVersion
211- } catch ( e : unknown ) {
211+ } catch ( e ) {
212212 logger . warn (
213213 `Could not read cache version from action.yml: ${ e . message } . Using fallback 'v1'.` ,
214214 )
@@ -647,7 +647,7 @@ async function installPackage(packageInfo) {
647647 editable : true ,
648648 } )
649649 break
650- } catch ( error : unknown ) {
650+ } catch ( error ) {
651651 lastError = error
652652 if ( attempt < JSON_PARSE_MAX_RETRIES ) {
653653 // Wait longer on each retry (200ms, 400ms).
@@ -720,7 +720,7 @@ async function installPackage(packageInfo) {
720720 packageSpec = pathToFileURL ( repackedTarball ) . href
721721 modifiedPackagePath = tempExtractDir
722722 }
723- } catch ( e : unknown ) {
723+ } catch ( e ) {
724724 // If extraction fails, fall back to the original GitHub URL.
725725 logger . warn (
726726 `Warning: Could not extract GitHub tarball for ${ origPkgName } , using URL directly: ${ e . message } ` ,
@@ -1023,7 +1023,7 @@ async function installPackage(packageInfo) {
10231023 installed : true ,
10241024 tempDir : packageTempDir ,
10251025 }
1026- } catch ( error : unknown ) {
1026+ } catch ( error ) {
10271027 // Clean up temporary GitHub tarball extraction directory.
10281028 if ( modifiedPackagePath ) {
10291029 try {
@@ -1118,7 +1118,7 @@ async function main(): Promise<void> {
11181118 if ( ! Array . isArray ( downloadResults ) ) {
11191119 throw new Error ( 'Download results must be an array' )
11201120 }
1121- } catch ( error : unknown ) {
1121+ } catch ( error ) {
11221122 logger . fail ( `Could not read download results: ${ error . message } ` )
11231123 if ( error instanceof SyntaxError ) {
11241124 logger . fail (
0 commit comments