Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bonyuta0204 committed Nov 30, 2023
1 parent 87c892c commit 43474fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34392,7 +34392,7 @@ const git = (0, simple_git_1.default)();
* Fetches all commits from the remote repository
*/
async function fullFetch() {
(0, promises_1.access)(path.join(".git", "shallow"))
return (0, promises_1.access)(path.join(".git", "shallow"))
.then(async () => {
(0, core_1.debug)("Repository is shallow, fetching all commits");
await git.fetch(["--unshallow"]);
Expand Down
2 changes: 1 addition & 1 deletion src/git-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const git = simpleGit();
* Fetches all commits from the remote repository
*/
export async function fullFetch(): Promise<void> {
access(path.join(".git", "shallow"))
return access(path.join(".git", "shallow"))
.then(async () => {
debug("Repository is shallow, fetching all commits");
await git.fetch(["--unshallow"]);
Expand Down

0 comments on commit 43474fa

Please sign in to comment.