fix eslint error

pull/2870/head
callmewhy 2017-02-16 18:48:01 +08:00 committed by 杨奕
parent d011d309f0
commit 8e8c714f00
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ function fileExists(filePath) {
}
themes.forEach((theme) => {
var indexContent = '@import "./base.css";\n'
Components.forEach(function (key) {
var indexContent = '@import "./base.css";\n';
Components.forEach(function(key) {
var fileName = key + '.css';
indexContent += '@import "./' + fileName + '";\n';
var filePath = path.resolve(basepath, theme, 'src', fileName);