Skip to content

Commit 7cf847a

Browse files
committed
shared29/setup Don't try to map key to character if col.keys = 0. (ie. there is no mapping)
1 parent 02f67af commit 7cf847a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared29/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function makeTypeAssistMap (col) {
7474
// suck out the relevant data into the chars array
7575
for (var line in spreadsheetRows) {
7676
// continue if there is no key mentioned in the column
77-
if (spreadsheetRows[line][col] === '' || line.startsWith('/')) continue
77+
if (spreadsheetRows[line][col] === '' || line.startsWith('/') || cols.key == '0') continue
7878
if (notUsed.has(spreadsheetRows[line][cols.status])) continue
7979

8080
var primary = false

0 commit comments

Comments
 (0)