Comparing version 1.0.4 to 1.0.5
@@ -121,4 +121,10 @@ (function() { | ||
} | ||
dump = yaml.safeDump(file); | ||
dump = dump.replace(/\ \ /g, '\t'); | ||
if (ext === 'neon' || ext === 'yml' || ext === 'yaml') { | ||
dump = yaml.safeDump(file); | ||
dump = dump.replace(/\ \ /g, '\t'); | ||
} else if (ext === 'json') { | ||
dump = JSON.stringify(file, null, 2); | ||
} else { | ||
callback("File extension '" + ext + "' is not supported."); | ||
} | ||
mergedFile.contents = new Buffer(dump); | ||
@@ -125,0 +131,0 @@ mergedFiles.push(mergedFile); |
{ | ||
"name": "gulp-po", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Gulp extension for synchronizing translates from POEditor.", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
22551
624