mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 07:06:45 +00:00
Fixed webpack skin folder globbing
This commit is contained in:
parent
9cdd81e9dd
commit
753535c3c7
|
@ -45,7 +45,7 @@ for (let i = 0; i < skinFiles.length; i++) {
|
|||
const data = flavours[name].skin;
|
||||
if (lstatSync(skinFile).isDirectory()) {
|
||||
data[skin] = {};
|
||||
const skinPacks = glob.sync(skinFile, '*.{css,scss}');
|
||||
const skinPacks = glob.sync(resolve(skinFile, '*.{css,scss}'));
|
||||
for (let j = 0; j < skinPacks.length; j++) {
|
||||
const pack = skinPacks[i];
|
||||
data[skin][basename(pack, extname(pack))] = pack;
|
||||
|
|
Loading…
Reference in a new issue