Fix build

This commit is contained in:
Pieter Vander Vennet 2023-10-31 01:39:01 +01:00
parent 2f66b2ee59
commit 31427caa07
5 changed files with 3 additions and 18 deletions

View file

@ -1,7 +1,6 @@
import { LayerConfigJson } from "../Json/LayerConfigJson"
import { Utils } from "../../../Utils"
import { QuestionableTagRenderingConfigJson } from "../Json/QuestionableTagRenderingConfigJson"
import ScriptUtils from "../../../../scripts/ScriptUtils"
export interface DesugaringContext {
tagRenderings: Map<string, QuestionableTagRenderingConfigJson>
@ -210,7 +209,7 @@ export class Each<X, Y> extends Conversion<X[], Y[]> {
const c = context.inOperation("each")
for (let i = 0; i < values.length; i++) {
if (this._msg) {
ScriptUtils.erasableLog(
console.log(
this._msg,
`: ${i + 1}/${values.length}`,
values[i]?.["id"] !== undefined ? values[i]?.["id"] : ""
@ -220,7 +219,6 @@ export class Each<X, Y> extends Conversion<X[], Y[]> {
const r = step.convert(values[i], context_)
result.push(r)
}
ScriptUtils.erasableLog(this._msg)
return result
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
<script>
export let color = "#000000"
</script>
<svg width="7" height="7" viewBox="0 0 7 7" version="1.1" id="svg7" sodipodi:docname="cross.svg" inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <defs id="defs11" /> <sodipodi:namedview id="namedview9" pagecolor="#505050" bordercolor="#eeeeee" borderopacity="1" inkscape:pageshadow="0" inkscape:pageopacity="0" inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="80.206863" inkscape:cx="4.0270868" inkscape:cy="2.6493992" inkscape:window-width="1920" inkscape:window-height="995" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="svg7" /> <path style="fill: none !important;stroke:{color};stroke-width:1;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50314403" d="M 0,3.5 H 7" id="path941" /> <path style="fill: none !important;stroke:{color};stroke-width:1;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50314403" d="M 3.5,0 V 7" id="path941" /> </svg>
<svg xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" width="9" height="9" viewBox="0 0 9 9" version="1.1" sodipodi:docname="cross.svg" inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" xmlns="http://www.w3.org/2000/svg" > <path style="fill: none !important;stroke:{color};stroke-width:1;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50314403" d="M 1,4.5 H 8" id="path941"/> <path style="fill: none !important;stroke:{color};stroke-width:1;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50314403" d="M 4.5,1 V 4" id="path941"/> <path style="fill: none !important;stroke:{color};stroke-width:1;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50314403" d="M 4.5,5 V 8" id="path941"/> <path style="fill: none !important;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50314403" d="M 3.5,5 v 3.5 h 2 v -3 h 3 v -2 h -3 v -3 h -2 v 3 h -3 v 2 h3" id="path941"/> </svg>