trulyspinach / SMCAMDProcessor

Power management, monitoring and VirtualSMC plugin for AMD processors
BSD 3-Clause "New" or "Revised" License
1.04k stars 90 forks source link

Fix 'Prefer checking `isEmpty` over comparing `count` to zero.' issue in AMD Power Gadget\Power Tool\CPUPowerStepView.swift #106

Closed trulyspinach closed 3 years ago

trulyspinach commented 3 years ago

CodeFactor found an issue: Prefer checking isEmpty over comparing count to zero.

It's currently on: AMD Power Gadget\Power Tool\CPUPowerStepView.swift:159 Commit 912ade0cdfa35f4aec300a65d94677be5f4f710d

dmb1107 commented 3 years ago

@trulyspinach May I be assigned to this?

trulyspinach commented 3 years ago

@dmb1107 of course, there's no need to assign. All you have to do is fix it and open up a pull request!