mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-13 21:55:38 +01:00
Update generated content
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
c6dca826de
commit
8ba85ead00
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@ -6435,7 +6435,7 @@ class Parser extends Transform {
|
|||||||
const date = Date.parse(value)
|
const date = Date.parse(value)
|
||||||
return !isNaN(date) ? new Date(date) : value
|
return !isNaN(date) ? new Date(date) : value
|
||||||
}
|
}
|
||||||
}else if(typeof options.cast_date !== 'function'){
|
}else{
|
||||||
throw new CsvError('CSV_INVALID_OPTION_CAST_DATE', [
|
throw new CsvError('CSV_INVALID_OPTION_CAST_DATE', [
|
||||||
'Invalid option cast_date:', 'cast_date must be true or a function,',
|
'Invalid option cast_date:', 'cast_date must be true or a function,',
|
||||||
`got ${JSON.stringify(options.cast_date)}`
|
`got ${JSON.stringify(options.cast_date)}`
|
||||||
|
Loading…
Reference in New Issue
Block a user