Procházet zdrojové kódy

tests (untranslated_entities): surface the errors as errors again

It seems github is no longer surfacing warnings even when marked with code location.
Jason Rumney před 8 měsíci
rodič
revize
18c18304cb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      util/untranslated_entities.py

+ 1 - 1
util/untranslated_entities.py

@@ -28,7 +28,7 @@ def main() -> int:
             slug = slugify(entity.name)
             if slug in translations:
                 print(
-                    f"::warning file=custom_components/tuya_local/devices/{config},line={entity._config.__line__}:: Entity can use translation_key: {slug}"
+                    f"::error file=custom_components/tuya_local/devices/{config},line={entity._config.__line__}:: Entity can use translation_key: {slug}"
                 )
                 detected += 1
     return detected