diff --git a/scripts/gulpfile.js b/scripts/gulpfile.js index f60f1b41a..b0a4c63f8 100644 --- a/scripts/gulpfile.js +++ b/scripts/gulpfile.js @@ -60,10 +60,7 @@ function copyHtml() { path.join(cwd, 'site-dist/index-cn.html'), fs.readFileSync(path.join(cwd, 'site-dist/index.html')), ); - fs.writeFileSync( - path.join(cwd, 'site-dist/CNAME'), - 'vue.ant.design', - ); + fs.writeFileSync(path.join(cwd, 'site-dist/CNAME'), 'vue.ant.design'); rl.on('line', line => { if (line.indexOf('path:') > -1) { const name = line.split("'")[1].split("'")[0];