tolgee / tolgee-cli

The Tolgee CLI
MIT License
16 stars 11 forks source link

Missing file path in output of print command when only warnings were found #49

Open Davasny opened 1 year ago

Davasny commented 1 year ago

Bug:

I run tolgee extract print and it shows warnings about my code but I don't know where exactly should I fix the code (which files)

> tolgee extract print './src/**/*.ts?(x)'

🐭✅     Analyzing code....
2 warnings were emitted during extraction:
        line 120: Dynamic key
        line 124: Dynamic key

2 warnings were emitted during extraction:
        line 50: Dynamic key
        line 120: Dynamic key

2 keys found in src\components\EmptyComponents.tsx:
        line 115: No results found
        line 118: Unfortunately, we havent found any results for given filters

Environment

tolgee --version
1.1.0

node --version
v18.16.0

Windows 10 PRO

Project with react and typescript