Skip to content

Commit

Permalink
linting the bats
Browse files Browse the repository at this point in the history
  • Loading branch information
Ira Abramov committed Nov 7, 2024
1 parent 092b1ea commit 7643f3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/plugins/battery.plugin.bats
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ function setup_ioreg {
percent="$1"

function ioreg {
# shellcheck disable=SC2317
printf "\"MaxCapacity\" = 100\n\"CurrentCapacity\" = %s" "${percent}"
}
}
Expand Down

0 comments on commit 7643f3a

Please sign in to comment.