Skip to content

Build can fail if a string matching the KV Store name appears in fastly.toml #25

@kpfleming

Description

@kpfleming

console.error("improperly configured entry for '${kvStoreName}' in fastly.toml");

If the fastly.toml file happens to contain the string matching the name of the configured KV Store, anywhere in the file, then this check will cause the build to fail. In my case I used the same string for the project's name as for the KV Store, so this check fails every time if the build has not previously put a list of assets into the fastly.toml file.

I suspect this check was put in place to catch situations where the user had their own configuration for the KV Store already present in fastly.toml, but the check is too 'greedy' as it is now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions