Fix error with Set initialization
This commit is contained in:
@ -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 };
|
||||||
|
Reference in New Issue
Block a user