XAMPPRocky / tokei

Count your code, quickly.
Other
10.56k stars 507 forks source link

[Bug] Shows 0 lines for unsupported files #897

Open Warchant opened 2 years ago

Warchant commented 2 years ago

Example: bazel script file has extension .bzl (and not yet supported).

PS C:\W\bazel_platform> tokei .\utils\arxmlstubgen\gen.py
===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Python                  1          924          715           49          160
===============================================================================
 Total                   1          924          715           49          160
===============================================================================
PS C:\W\bazel_platform> tokei .\utils\arxmlstubgen\arxmlstubgen.bzl
===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
===============================================================================
 Total                   0            0            0            0            0
===============================================================================

But .bzl file is not empty. I would expect at least "lines" to be non 0.

Ziqi-Yang commented 3 months ago

Any update on this? I have j2 (jinja2) files that cannot be recognized