From e2dcb6c38d35346ef97b98aadccf3432a5eeed42 Mon Sep 17 00:00:00 2001 From: Baoshan Sheng Date: Tue, 27 Mar 2012 17:58:39 +0800 Subject: [PATCH 1/2] PowerShell, not Powershell --- lib/linguist/languages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index c74f6a94..d8c82866 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -826,7 +826,7 @@ Perl: - .psgi - .t -Powershell: +PowerShell: type: programming lexer: Text only ace_mode: powershell From 1b5f372922efe855ba27ae83d2411a56d3c44340 Mon Sep 17 00:00:00 2001 From: Baoshan Sheng Date: Wed, 28 Mar 2012 10:40:51 +0800 Subject: [PATCH 2/2] Make node_modules check less strict, nicer for output with dot and slash prefix --- lib/linguist/vendor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 9be4afda..e58e9270 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -18,7 +18,7 @@ - ^tools/ # Node depedencies -- ^node_modules/ +- node_modules/ # Vendored depedencies - vendor/