Skip to content

converter: SST delimiter default is never applied #101

Description

Bug

The SST converter's delimiter field is tagged default:\"\\t\", but UnmarshalYAML unmarshals into a zero mapper, so an omitted delimiter stays \"\". strings.SplitN(line, \"\", 2) then takes the first character as the key.

Where

internal/pkg/pipeline/task/converter/converter.go (mapper.Delimiter / core.Delimiter) and sst.go convert.

Expected

Apply the tab default when delimiter is omitted, or fail config load if SST is used without one.

Found while auditing task READMEs in #96.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions