Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

[format] scriptBuilder parser executes commented out # %action statements in YML recipes #15

@ermo

Description

@ermo

In a stone.yml recipe,

# %make

will (quite unexpectedly) get picked up and expanded + run by our macro parser here, essentially making # signs lose their intended meaning as "this is a comment, don't process" in YAML files and shell scripts.

One solution could be to attempt to add findSplitBefore logic, such that the lines the parser sees have already been stripped of comments as it parses them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions