mirror of
https://github.com/actions/setup-java.git
synced 2024-11-27 03:59:02 +00:00
improved cleanup error message
This commit is contained in:
parent
ac9630fb91
commit
38e0c8bd18
2
dist/cleanup/index.js
vendored
2
dist/cleanup/index.js
vendored
@ -1006,7 +1006,7 @@ function run() {
|
||||
yield gpg.deleteKey(keyFingerprint);
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
core.setFailed('failed to remove private key');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -11,7 +11,7 @@ async function run() {
|
||||
);
|
||||
await gpg.deleteKey(keyFingerprint);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
core.setFailed('failed to remove private key');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user