Skip to content

Commit

Permalink
🐛 fix maintainability json output
Browse files Browse the repository at this point in the history
  • Loading branch information
MaaniBeigy committed Aug 11, 2024
1 parent 5752970 commit c1f5f6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .logs/maintainability.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"maintainability": "93.8%%"
"maintainability": "93.8%"
}
4 changes: 2 additions & 2 deletions .shell/maintainability.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ foreach ($score in $maintainabilityScores) {

$averageMaintainability = if ($count -gt 0) {
$average = $total / $count
"{0:N1}%%" -f $average
"{0:N1}%" -f $average
}
else {
"0.0%%"
"0.0%"
}

# Output the maintainability score (for verification)
Expand Down

0 comments on commit c1f5f6e

Please sign in to comment.