mirror of http://gitea.com/actions/checkout
updating error handling
This commit is contained in:
parent
24ec60a7c8
commit
ed4a43bf5c
|
@ -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