Prints error message encountered in cleanup-java (#220)
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/cleanup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/cleanup/index.js
									
									
									
									
										vendored
									
									
								
							| @ -6196,7 +6196,7 @@ function removePrivateKeyFromKeychain() { | |||||||
|                 yield gpg.deleteKey(keyFingerprint); |                 yield gpg.deleteKey(keyFingerprint); | ||||||
|             } |             } | ||||||
|             catch (error) { |             catch (error) { | ||||||
|                 core.setFailed('Failed to remove private key'); |                 core.setFailed(`Failed to remove private key due to: ${error.message}`); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ async function removePrivateKeyFromKeychain() { | |||||||
|       const keyFingerprint = core.getState(constants.STATE_GPG_PRIVATE_KEY_FINGERPRINT); |       const keyFingerprint = core.getState(constants.STATE_GPG_PRIVATE_KEY_FINGERPRINT); | ||||||
|       await gpg.deleteKey(keyFingerprint); |       await gpg.deleteKey(keyFingerprint); | ||||||
|     } catch (error) { |     } catch (error) { | ||||||
|       core.setFailed('Failed to remove private key'); |       core.setFailed(`Failed to remove private key due to: ${error.message}`); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 mikhailshaganov
					mikhailshaganov