fix eslint error

This commit is contained in:
callmewhy
2017-02-16 18:48:01 +08:00
committed by 杨奕
parent d011d309f0
commit 8e8c714f00

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);