mirror of
https://code.forgejo.org/actions/checkout.git
synced 2024-11-23 20:19:15 +01:00
updating error handling
This commit is contained in:
parent
24ec60a7c8
commit
ed4a43bf5c
2 changed files with 2 additions and 2 deletions
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 a new issue