mirror of https://github.com/actions/toolkit
Fix: TypeScript Error got not Casted
parent
daf8bb0060
commit
2826bcca07
|
@ -78,7 +78,7 @@ export class OidcClient {
|
||||||
setSecret(id_token)
|
setSecret(id_token)
|
||||||
return id_token
|
return id_token
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(`Error message: ${error.message}`)
|
throw new Error(`Error message: ${(error as Error).message}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue