Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve quotes inside unquoted field #153

Merged
merged 1 commit into from Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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