Skip to content

Commit

Permalink
fix set item constants
Browse files Browse the repository at this point in the history
  • Loading branch information
dschu012 committed May 24, 2021
1 parent 97a17de commit 0802c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ function _readSetOrUnqItems(tsv: any, strings: any): any[] {
const cIndex = tsv.header.indexOf("index");
const cInvfile = tsv.header.indexOf("invfile");
let cCode = tsv.header.indexOf("code");
if(cCode < 0) cCode = tsv.header.indexOf("item");
if (cCode < 0) cCode = tsv.header.indexOf("item");
const cInvtransform = tsv.header.indexOf("invtransform");
let id = 0;
for (let i = 1; i < tsv.lines.length; i++) {
Expand Down

0 comments on commit 0802c9e

Please sign in to comment.