zip-to-timezone
Advanced tools
Comparing version 1.0.24 to 1.0.25
{ | ||
"name": "zip-to-timezone", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -34,3 +34,3 @@ "use strict"; | ||
console.log(333, filePath); | ||
let fileContents = yield fs.readFileSync(`${filePath}/.${fileName}.yml`, 'utf8'); | ||
let fileContents = yield fs.readFileSync(`${filePath}/node_modules/zip-to-timezone/src/.${fileName}.yml`, 'utf8'); | ||
let data = yaml.safeLoad(fileContents); | ||
@@ -37,0 +37,0 @@ for (const [timezone] of Object.entries(data)) { |
@@ -20,3 +20,3 @@ const fs = require('fs'); | ||
console.log(333, filePath); | ||
let fileContents = await fs.readFileSync(`${filePath}/.${fileName}.yml`, 'utf8'); | ||
let fileContents = await fs.readFileSync(`${filePath}/node_modules/zip-to-timezone/src/.${fileName}.yml`, 'utf8'); | ||
let data = yaml.safeLoad(fileContents); | ||
@@ -23,0 +23,0 @@ for (const [timezone] of Object.entries(data)) { |
Sorry, the diff of this file is not supported yet
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
3282453