Skip to content

Commit

Permalink
[core] Improve license message
Browse files Browse the repository at this point in the history
This is a follow-up on #7367, to fix
the feedback left by Michal in mui/material-ui#35703 (comment)
  • Loading branch information
oliviertassinari committed Jan 9, 2023
1 parent 58577f4 commit 0c7ad7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/copyFiles.mjs
Expand Up @@ -121,8 +121,10 @@ async function prepend(file, string) {
}

async function addLicense(packageData) {
const license = `/** @license MUI X v${packageData.version}
const license = `/**
* ${packageData.name} v${packageData.version}
*
* @license ${packageData.license === 'MIT' ? 'MIT' : 'MUI X Commercial'}
* This source code is licensed under the ${
packageData.license === 'MIT' ? 'MIT' : 'commercial'
} license found in the
Expand Down

0 comments on commit 0c7ad7a

Please sign in to comment.