Comparing version 1.0.0 to 1.0.1
@@ -43,3 +43,5 @@ 'use strict'; | ||
cache = getLocale(/LANG="([^"]*)"/.exec(stdout)[1]); | ||
var res = /(?:LC_ALL|LANG|LC_MESSAGES|LC_CTYPE|)="([^"]{2,})"/.exec(stdout); | ||
cache = getLocale(res && res[1]); | ||
cb(null, cache); | ||
@@ -46,0 +48,0 @@ }); |
{ | ||
"name": "os-locale", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Get the system locale", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3296
41