Skip to content

Commit

Permalink
Fix for the fix, not a string, but an array with a string
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jan 27, 2017
1 parent 8dd7449 commit e63a63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/kompos/src/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function sourceToArray(source: string): string[][] {
arr[i][j] = line[j];
}
}
arr[lines.length] = ""; // make sure the +1 line has a string
arr[lines.length] = [""]; // make sure the +1 line has an array with an empty string
return arr;
}

Expand Down

0 comments on commit e63a63a

Please sign in to comment.