Skip to content

You should not allow empty key #23

@LouTerrailloune

Description

@LouTerrailloune

I forgot to configure the key (forgot to create the bundle configuration).
This resulted in an empty key and when I ran the replace command of the bundle, every existing section (with other keys) in my crontab were replaced by the cron entries.

I think you should not allow empty key or mayby include the line break in the regex pattern used to find the old section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions