Skip to content

Writing a value to a configuration file removes any present comments #13009

@clemlak

Description

@clemlak

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

1.5.1-nightly

What version of Foundryup are you on?

1.5.0

What command(s) is the bug in?

forge script

Operating System

macOS (Apple Silicon)

Describe the bug

Using the Config contract (as explained here) to update a value in a toml file will erase any comments present in there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bugType: bugT-needs-triageType: this issue needs to be labelled

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions