mirror of
https://gitea.com/docker/build-push-action.git
synced 2024-11-25 19:09:40 +01:00
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
91bb504133
commit
6e53d9494f
1 changed files with 2 additions and 2 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
@ -12463,7 +12463,7 @@ class Parser extends Transform {
|
||||||
], this.options, this.__context(), {
|
], this.options, this.__context(), {
|
||||||
record: record,
|
record: record,
|
||||||
})
|
})
|
||||||
if(relax_column_count === true ||
|
if(relax_column_count === true ||
|
||||||
(relax_column_count_less === true && recordLength < this.state.expectedRecordLength) ||
|
(relax_column_count_less === true && recordLength < this.state.expectedRecordLength) ||
|
||||||
(relax_column_count_more === true && recordLength > this.state.expectedRecordLength) ){
|
(relax_column_count_more === true && recordLength > this.state.expectedRecordLength) ){
|
||||||
this.info.invalid_field_length++
|
this.info.invalid_field_length++
|
||||||
|
@ -12493,7 +12493,7 @@ class Parser extends Transform {
|
||||||
for(let i = 0, l = record.length; i < l; i++){
|
for(let i = 0, l = record.length; i < l; i++){
|
||||||
if(columns[i] === undefined || columns[i].disabled) continue
|
if(columns[i] === undefined || columns[i].disabled) continue
|
||||||
// Turn duplicate columns into an array
|
// Turn duplicate columns into an array
|
||||||
if (columns_duplicates_to_array === true && obj[columns[i].name]) {
|
if (columns_duplicates_to_array === true && obj[columns[i].name] !== undefined) {
|
||||||
if (Array.isArray(obj[columns[i].name])) {
|
if (Array.isArray(obj[columns[i].name])) {
|
||||||
obj[columns[i].name] = obj[columns[i].name].concat(record[i])
|
obj[columns[i].name] = obj[columns[i].name].concat(record[i])
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue