Linter configuration and linting.
This commit is contained in:
@@ -54,7 +54,7 @@ func (m *mainWindow) generateSysInfoTab() *container.TabItem {
|
||||
for {
|
||||
//nolint:mnd
|
||||
if memoryTotal > 1024 {
|
||||
memoryTotal = memoryTotal / 1024
|
||||
memoryTotal /= 1024
|
||||
memoryTotalDivCount++
|
||||
|
||||
continue
|
||||
@@ -81,7 +81,7 @@ func (m *mainWindow) generateSysInfoTab() *container.TabItem {
|
||||
//nolint:mnd
|
||||
for {
|
||||
if memoryFree > 1024 {
|
||||
memoryFree = memoryFree / 1024
|
||||
memoryFree /= 1024
|
||||
memoryFreeDivCount++
|
||||
|
||||
continue
|
||||
|
Reference in New Issue
Block a user