Commit 8e8c714f authored by callmewhy's avatar callmewhy Committed by 杨奕

fix eslint error

parent d011d309
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment