Skip to content

bug: LICENSE will not get updated when the content changes #5

@moltar

Description

@moltar

new File(this, "Default", { filePath: "LICENSE", content: existingLicense?.toString() ?? this.content });

This part here uses existing file contents first, which means if the file exists, then the contents will never be updated.

content: existingLicense?.toString() ?? this.content

Maybe this is desirable for licenses not to change, but I am not sure.

However, from the technical side, it does go against the spirit of the projen approach, where it always clobbers the contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions