Skip to content

Envvar compare not working well when envvar end with "\n" #19

@hakobera

Description

@hakobera

Write config like this:

project "github/username/repo" do
  env(
    "KEY" => "test\n"
  )
end

Then apply, we got results:

=== github/username/repo

Progress(dry-run): |
�[0;33;49m  ~ update KEY=xxxx
# <= newline is appears here

It seems CircleCI remove "\n", so we need to chomp it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions