Skip regenerating LICENSE if --license not given#290
Conversation
There was a problem hiding this comment.
Code Review
This pull request modifies ScaffoldPackageCommand.php to ensure that composer.json and the LICENSE file are only updated when the --license flag is explicitly provided. This is achieved by introducing a $license_provided boolean to gate the license-related logic. I have no feedback to provide.
|
As-is, this PR alone should fix both of @swissspidy's comments:
Skip everything license-related when caling Regarding the copyright line changing in this repo's In other words, even before #288 the copyright line in this repo's Skipping all license-related changes if |
swissspidy
left a comment
There was a problem hiding this comment.
Thank you! Let's guve this a try :)
No description provided.