Commit e556e125 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 6bfffb9b
let moment = require('moment-timezone') let moment = require('moment-timezone')
const fs = require('fs'); const fs = require('fs');
let _ = require('lodash')
let plus = 'plus' let plus = 'plus'
let zarib = 'zarib' let zarib = 'zarib'
let base = 'base' let base = 'base'
...@@ -224,8 +224,7 @@ let obj ...@@ -224,8 +224,7 @@ let obj
if (needPrintData) if (needPrintData)
{ {
fs.writeFile('detail/'+opt.platform+'-'+'param' + config.param + 'base' + config.base + 'target' + config.target+'.json', JSON.stringify(saveData, null, 2), 'utf8', function (err) {
fs.writeFile('detail/'+_.replace(opt.platform+'&'+type, new RegExp(' ', 'g'), '')+'.json', JSON.stringify(saveData, null, 2), 'utf8', function (err) {
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment