@marcopeg/utils
Advanced tools
Comparing version 1.14.4 to 1.14.5
@@ -36,3 +36,6 @@ 'use strict'; | ||
return new Promise(function (resolve, reject) { | ||
var origin = process.env.NODE_ENV === 'development' && locale !== 'en' ? 'public' : 'build'; | ||
// const origin = (process.env.NODE_ENV === 'development' && locale !== 'en') | ||
// ? 'public' | ||
// : 'build' | ||
var origin = '.'; | ||
var filePath = _path2.default.join(process.cwd(), origin, 'locale', locale.toLowerCase() + '.json'); | ||
@@ -39,0 +42,0 @@ _fs2.default.readFile(filePath, 'utf8', function (err, data) { |
{ | ||
"name": "@marcopeg/utils", | ||
"version": "1.14.4", | ||
"version": "1.14.5", | ||
"description": "Javascript utils for server and client projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
101157
2229
6