textiles-lab/fenced-tangle-supplemental

Remapping of carrier names fails

Closed this issue · 1 comments

e.g. with the knitout file

;!knitout-2
;;Carriers: 2 1
Gauge header not specified. Assuming needles are 1 / 15 inches apart.
Carrier names were not integers in order, so using positon-based remapping.
file:///.../k2f.mjs:128
                        carriers[name].yarn = i+1;
                                 ^

ReferenceError: name is not defined
    at file:///mnt/c/Users/Tom/Documents/hack/fenced-tangle-supplemental/k2f.mjs:128:13
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Node.js v19.3.0
ixchow commented

Appears to be fixed by pull request. Thanks!