👕 Fix the linter error

This commit is contained in:
M. Mert Yildiran
2024-06-06 04:01:32 +03:00
parent d22e30f86d
commit a58f72ed87

View File

@@ -132,7 +132,11 @@ func runLicenseRecieverServer() {
log.Info().Msg("Alternatively enter your license key:")
var licenseKey string
fmt.Scanf("%s", &licenseKey)
_, err := fmt.Scanf("%s", &licenseKey)
if err != nil {
log.Error().Err(err).Send()
return
}
updateLicense(licenseKey)
}