We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b79b0 commit 4bbf8b3Copy full SHA for 4bbf8b3
src/utils/branch.ts
@@ -13,16 +13,14 @@ export async function fetchBranches(cmd: BaseOptions) {
13
const loadable = await cmd.client.GET('/v2/projects/{projectId}/branches', {
14
params: {
15
path: { projectId: cmd.client.getProjectId() },
16
- query: { size: 10000, activeOnly: true },
+ query: { size: 10000 },
17
},
18
});
19
handleLoadableError(loadable);
20
return loadable.data?._embedded?.branches ?? [];
21
}
22
23
export function listBranches(branches: components['schemas']['BranchModel'][]) {
24
- branches = branches.filter((b) => !b.merge || !b.merge.mergedAt);
25
-
26
if (!branches.length) {
27
success('No branches found.');
28
return;
0 commit comments