[Gradle, JS] Use replace by just string, not regexp in webpack config
^KT-43379 fixed
This commit is contained in:
committed by
TeamCityServer
parent
8c38c4a8e7
commit
ce78457eaa
+1
-1
@@ -489,7 +489,7 @@ data class KotlinWebpackConfig(
|
|||||||
let msg = `${"$"}{Math.trunc(p / 10)}${"$"}{Math.trunc(p % 10)}% ${"$"}{message} ${"$"}{args.join(' ')}`;
|
let msg = `${"$"}{Math.trunc(p / 10)}${"$"}{Math.trunc(p % 10)}% ${"$"}{message} ${"$"}{args.join(' ')}`;
|
||||||
${
|
${
|
||||||
if (progressReporterPathFilter == null) "" else """
|
if (progressReporterPathFilter == null) "" else """
|
||||||
msg = msg.replace(new RegExp(${progressReporterPathFilter!!.jsQuoted()}, 'g'), '');
|
msg = msg.replace(${progressReporterPathFilter!!.jsQuoted()}, '');
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
};
|
};
|
||||||
console.log(msg);
|
console.log(msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user