Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve issue with license not being overriden #795

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

agdimech
Copy link
Contributor

Previously we were checking if a License existing on a project, if not we would add a default license specified via the monorepo's licenseOptions. This doesn't work however if a user has added a license manually. To resolve this, we now clobber any existing licenses that are found which should have been the desired behaviour in the initial implementation. If a user does not wish to do this, they simply need to opt out of the monorepo licensing by passing in the following:

licenseOptions: {
   disableDefaultLicenses: true
}

Fixes #784

Copy link
Contributor

@martenpayne martenpayne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@agdimech agdimech merged commit cc4f95a into mainline Jun 13, 2024
3 checks passed
@agdimech agdimech deleted the fix/license branch June 13, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Upgrading core pdk code results in reverting back to the original versions.
2 participants