From 1db48f1e7c5fec1aaedef5b71e2465bb5f540bb6 Mon Sep 17 00:00:00 2001 From: Liigo Date: Thu, 2 Jun 2016 14:10:22 +0800 Subject: [PATCH 1/2] fix for no-comment languages: Json, Markdown, Text --- src/main.rs.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs.in b/src/main.rs.in index 10dce45..c7e9d39 100644 --- a/src/main.rs.in +++ b/src/main.rs.in @@ -228,6 +228,8 @@ fn main() { if language.is_blank() { stats.code += lines.count(); + stats.lines += stats.code; + *language += stats; continue; } From 3f81006293df5c3eb6a642f51d99551d9a56ea40 Mon Sep 17 00:00:00 2001 From: Aaronepower Date: Thu, 2 Jun 2016 09:00:19 +0100 Subject: [PATCH 2/2] version bump --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a109033..9a39689 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ # found in the LICENCE-{APACHE, MIT} file. [package] name = "tokei" -version = "2.1.2" +version = "2.1.3" authors = ["Aaronepower "] repository = "https://github.com/Aaronepower/tokei.git" homepage = "https://aaronepower.github.io/tokei/"