fix: add debug log for git fetch
command
This commit is contained in:
parent
3602716c0b
commit
4abda31f83
@ -54,7 +54,11 @@ async function isRefInHistory(ref) {
|
|||||||
* @param {String} repositoryUrl The remote repository URL.
|
* @param {String} repositoryUrl The remote repository URL.
|
||||||
*/
|
*/
|
||||||
async function unshallow(repositoryUrl) {
|
async function unshallow(repositoryUrl) {
|
||||||
await execa('git', ['fetch', '--unshallow', '--tags', repositoryUrl], {reject: false});
|
try {
|
||||||
|
await execa('git', ['fetch', '--unshallow', '--tags', repositoryUrl]);
|
||||||
|
} catch (err) {
|
||||||
|
debug(err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user