mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[bdTheme] Better manifest override
This commit is contained in:
parent
1fa515b245
commit
3dee22c632
1 changed files with 3 additions and 3 deletions
|
@ -7,9 +7,7 @@ export default (themePath, repo) => {
|
|||
|
||||
let manifest = {
|
||||
main: 'index.js',
|
||||
tags: ['theme', 'port'],
|
||||
|
||||
...repo[4]
|
||||
tags: ['theme', 'port']
|
||||
};
|
||||
|
||||
let match;
|
||||
|
@ -42,6 +40,8 @@ export default (themePath, repo) => {
|
|||
}
|
||||
}
|
||||
|
||||
manifest = Object.assign(manifest, repo[4]);
|
||||
|
||||
rmSync(themePath);
|
||||
mkdirSync(themePath);
|
||||
|
||||
|
|
Loading…
Reference in a new issue