Skip to content

Commit

Permalink
fix: for test
Browse files Browse the repository at this point in the history
  • Loading branch information
bonyuta0204 committed Nov 29, 2023
1 parent 5599d8a commit 7b35033
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 @@ -34364,7 +34364,7 @@ const core_1 = __nccwpck_require__(9093);
const simple_git_1 = __importDefault(__nccwpck_require__(791));
const git = (0, simple_git_1.default)();
async function fetchRemoteBranches() {
await git.fetch(["--unshallow"]);
await git.fetch([]);
const branches = await git.branch(["-r"]);
return branches.all.map((branch) => branch.replace("origin/", ""));
}
Expand Down
2 changes: 1 addition & 1 deletion src/git-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import simpleGit from "simple-git";
const git = simpleGit();

export async function fetchRemoteBranches() {
await git.fetch(["--unshallow"]);
await git.fetch([]);
const branches = await git.branch(["-r"]);
return branches.all.map((branch) => branch.replace("origin/", ""));
}
Expand Down

0 comments on commit 7b35033

Please sign in to comment.