style: fix code format
parent
96afcdf30f
commit
9a073953ee
|
@ -60,10 +60,7 @@ function copyHtml() {
|
||||||
path.join(cwd, 'site-dist/index-cn.html'),
|
path.join(cwd, 'site-dist/index-cn.html'),
|
||||||
fs.readFileSync(path.join(cwd, 'site-dist/index.html')),
|
fs.readFileSync(path.join(cwd, 'site-dist/index.html')),
|
||||||
);
|
);
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(path.join(cwd, 'site-dist/CNAME'), 'vue.ant.design');
|
||||||
path.join(cwd, 'site-dist/CNAME'),
|
|
||||||
'vue.ant.design',
|
|
||||||
);
|
|
||||||
rl.on('line', line => {
|
rl.on('line', line => {
|
||||||
if (line.indexOf('path:') > -1) {
|
if (line.indexOf('path:') > -1) {
|
||||||
const name = line.split("'")[1].split("'")[0];
|
const name = line.split("'")[1].split("'")[0];
|
||||||
|
|
Loading…
Reference in New Issue