Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squads-cli",
"version": "0.7.0",
"version": "0.7.1",
"description": "Your AI workforce. Every user gets an AI manager that runs their team — finance, marketing, engineering, operations — for the cost of API calls.",
"type": "module",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/outcomes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@

const totalPRs = records.reduce((sum, r) => sum + r.artifacts.prsCreated.length, 0);
const mergedPRs = records.reduce((sum, r) => sum + r.outcomes.prsMerged, 0);
const _unmergedPRs = records.reduce((sum, r) => sum + r.outcomes.prsClosedUnmerged, 0);
const unmergedPRs = records.reduce((sum, r) => sum + r.outcomes.prsClosedUnmerged, 0);

Check warning on line 363 in src/lib/outcomes.ts

View workflow job for this annotation

GitHub Actions / build (22)

'unmergedPRs' is assigned a value but never used. Allowed unused vars must match /^_/u

Check warning on line 363 in src/lib/outcomes.ts

View workflow job for this annotation

GitHub Actions / build (20)

'unmergedPRs' is assigned a value but never used. Allowed unused vars must match /^_/u

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The unmergedPRs variable is declared but its value is never used within the computeScorecard function. This is considered dead code and should be removed to improve maintainability.

const totalIssues = records.reduce((sum, r) => sum + r.artifacts.issuesCreated.length, 0);
const closedIssues = records.reduce((sum, r) => sum + r.outcomes.issuesClosed, 0);
const totalCost = records.reduce((sum, r) => sum + r.costUsd, 0);
Expand Down
Loading