Skip to content

Commit a2e0289

Browse files
authored
Merge pull request #153 from crazy-max/preserve-quotes
Preserve quotes inside unquoted field
2 parents 5220b23 + 59e3d70 commit a2e0289

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
labels: |
163163
maintainer=CrazyMax
164164
org.opencontainers.image.title=MyCustomTitle
165-
org.opencontainers.image.description=Another description
165+
org.opencontainers.image.description=this is a "good" example
166166
org.opencontainers.image.vendor=MyCompany
167167
168168
json:

__tests__/meta.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ describe('latest', () => {
19211921
labels: [
19221922
"maintainer=CrazyMax",
19231923
"org.opencontainers.image.title=MyCustomTitle",
1924-
"org.opencontainers.image.description=Another description",
1924+
`org.opencontainers.image.description=this is a "good" example`,
19251925
"org.opencontainers.image.vendor=MyCompany",
19261926
]
19271927
} as Inputs,
@@ -1945,7 +1945,7 @@ describe('latest', () => {
19451945
"org.opencontainers.image.licenses=MIT",
19461946
"maintainer=CrazyMax",
19471947
"org.opencontainers.image.title=MyCustomTitle",
1948-
"org.opencontainers.image.description=Another description",
1948+
`org.opencontainers.image.description=this is a "good" example`,
19491949
"org.opencontainers.image.vendor=MyCompany"
19501950
]
19511951
],

dist/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/context.ts

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export function getInputList(name: string, ignoreComma?: boolean): string[] {
4848

4949
for (let output of csvparse(items, {
5050
columns: false,
51+
relax: true,
5152
relaxColumnCount: true,
5253
skipLinesWithEmptyValues: true
5354
}) as Array<string[]>) {

0 commit comments

Comments
 (0)