mirror of
https://github.com/actions/checkout.git
synced 2024-12-23 19:55:29 +00:00
updating error handling
This commit is contained in:
parent
24ec60a7c8
commit
ed4a43bf5c
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -7209,7 +7209,7 @@ class GitAuthHelper {
|
||||
// eslint-disable-next-line github/no-then
|
||||
.catch(err => {
|
||||
// eslint-disable-next-line i18n-text/no-en
|
||||
core.warning(`Failed to remove temporary home directory: ${err}`);
|
||||
core.warning(`Failed to remove temporary checkout directory: ${err}`);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -202,7 +202,7 @@ class GitAuthHelper {
|
||||
// eslint-disable-next-line github/no-then
|
||||
.catch(err => {
|
||||
// eslint-disable-next-line i18n-text/no-en
|
||||
core.warning(`Failed to remove temporary home directory: ${err}`)
|
||||
core.warning(`Failed to remove temporary checkout directory: ${err}`)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user