Preserve quotes inside unquoted field

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-05-23 02:41:02 +02:00
parent 95f997534a
commit c9589d1941
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
3 changed files with 18 additions and 0 deletions

View file

@ -361,6 +361,22 @@ ccc`],
'--push', '--push',
'https://github.com/docker/build-push-action.git#heads/master' 'https://github.com/docker/build-push-action.git#heads/master'
] ]
],
[
'0.4.2',
new Map<string, string>([
['context', '.'],
['labels', 'org.opencontainers.image.title=filter_results_top_n\norg.opencontainers.image.description=Reference implementation of operation "filter results (top-n)"'],
['outputs', 'type=local,dest=./release-out']
]),
[
'buildx',
'build',
'--label', 'org.opencontainers.image.title=filter_results_top_n',
'--label', 'org.opencontainers.image.description=Reference implementation of operation "filter results (top-n)"',
'--output', 'type=local,dest=./release-out',
'.'
]
] ]
])( ])(
'given %p with %p as inputs, returns %p', 'given %p with %p as inputs, returns %p',

1
dist/index.js generated vendored
View file

@ -13485,6 +13485,7 @@ function getInputList(name, ignoreComma) {
} }
for (let output of (yield sync_1.default(items, { for (let output of (yield sync_1.default(items, {
columns: false, columns: false,
relax: true,
relaxColumnCount: true, relaxColumnCount: true,
skipLinesWithEmptyValues: true skipLinesWithEmptyValues: true
}))) { }))) {

View file

@ -185,6 +185,7 @@ export async function getInputList(name: string, ignoreComma?: boolean): Promise
for (let output of (await csvparse(items, { for (let output of (await csvparse(items, {
columns: false, columns: false,
relax: true,
relaxColumnCount: true, relaxColumnCount: true,
skipLinesWithEmptyValues: true skipLinesWithEmptyValues: true
})) as Array<string[]>) { })) as Array<string[]>) {