mirror of
https://github.com/actions/checkout.git
synced 2024-11-15 11:54:30 +08: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
|
// eslint-disable-next-line github/no-then
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
// eslint-disable-next-line i18n-text/no-en
|
// 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
|
// eslint-disable-next-line github/no-then
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
// eslint-disable-next-line i18n-text/no-en
|
// 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