Fix error with Set initialization

This commit is contained in:
Joseph Garrone
2024-05-26 12:19:47 +02:00
parent 332b1f74d9
commit 5670a71e6b

View File

@ -99,7 +99,7 @@ export async function buildJar(params: {
} }
const themePropertiesFileRelativePathSet = new Set( const themePropertiesFileRelativePathSet = new Set(
...buildOptions.themeNames.map(themeName => buildOptions.themeNames.map(themeName =>
pathJoin( pathJoin(
"src", "src",
"main", "main",
@ -160,7 +160,6 @@ export async function buildJar(params: {
"utf8" "utf8"
); );
// assert modifiedSourceCode !== sourceCode
assert(Buffer.compare(modifiedSourceCode, sourceCode) !== 0); assert(Buffer.compare(modifiedSourceCode, sourceCode) !== 0);
return { modifiedSourceCode }; return { modifiedSourceCode };