Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(bulk-mailer): Remove the locale prefix on filenames w/ --write
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Tomlinson authored and vbudhram committed Apr 12, 2016
1 parent c100a48 commit 1c0959d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bulk-mailer/nodemailer-mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function (config) {

var language = emailConfig.headers['Content-Language']

var outputPath = path.join(config.outputDir, language + '.' + emailConfig.to)
var outputPath = path.join(config.outputDir, emailConfig.to)

var textPath = outputPath + '.txt'
fs.writeFileSync(textPath, emailConfig.text)
Expand Down

0 comments on commit 1c0959d

Please sign in to comment.