[BDTheme] Fix error caused by last commit
This commit is contained in:
parent
f2b397fdbc
commit
0c62c9b764
|
@ -12,7 +12,7 @@ export default (themePath, repo) => {
|
||||||
|
|
||||||
let match;
|
let match;
|
||||||
while ((match = metaReg.exec(content)) !== null) {
|
while ((match = metaReg.exec(content)) !== null) {
|
||||||
const [_, key, value] = match;
|
let [_, key, value] = match;
|
||||||
if (key === 'import') break;
|
if (key === 'import') break;
|
||||||
|
|
||||||
value = value.trim();
|
value = value.trim();
|
||||||
|
|
Loading…
Reference in New Issue