Skip to content

Commit

Permalink
Merge pull request #153 from crazy-max/preserve-quotes
Browse files Browse the repository at this point in the history
Preserve quotes inside unquoted field
  • Loading branch information
crazy-max committed Nov 29, 2021
2 parents 5220b23 + 59e3d70 commit a2e0289
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -162,7 +162,7 @@ jobs:
labels: |
maintainer=CrazyMax
org.opencontainers.image.title=MyCustomTitle
org.opencontainers.image.description=Another description
org.opencontainers.image.description=this is a "good" example
org.opencontainers.image.vendor=MyCompany
json:
Expand Down
4 changes: 2 additions & 2 deletions __tests__/meta.test.ts
Expand Up @@ -1921,7 +1921,7 @@ describe('latest', () => {
labels: [
"maintainer=CrazyMax",
"org.opencontainers.image.title=MyCustomTitle",
"org.opencontainers.image.description=Another description",
`org.opencontainers.image.description=this is a "good" example`,
"org.opencontainers.image.vendor=MyCompany",
]
} as Inputs,
Expand All @@ -1945,7 +1945,7 @@ describe('latest', () => {
"org.opencontainers.image.licenses=MIT",
"maintainer=CrazyMax",
"org.opencontainers.image.title=MyCustomTitle",
"org.opencontainers.image.description=Another description",
`org.opencontainers.image.description=this is a "good" example`,
"org.opencontainers.image.vendor=MyCompany"
]
],
Expand Down
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/context.ts
Expand Up @@ -48,6 +48,7 @@ export function getInputList(name: string, ignoreComma?: boolean): string[] {

for (let output of csvparse(items, {
columns: false,
relax: true,
relaxColumnCount: true,
skipLinesWithEmptyValues: true
}) as Array<string[]>) {
Expand Down

0 comments on commit a2e0289

Please sign in to comment.