Update gulpfile.js

This commit is contained in:
2018-09-14 21:41:43 +08:00
parent b8695492df
commit b1e6670f72
+4
View File
@@ -125,6 +125,10 @@ function writeWordJs(data, src) {
} }
} }
text += '};\n'; text += '};\n';
console.error(text);
if (src.indexOf('admin') === -1) { if (src.indexOf('admin') === -1) {
fs.writeFileSync(src + 'js/' + fileName, text); fs.writeFileSync(src + 'js/' + fileName, text);
} else { } else {