Skip to content

Commit

Permalink
[core] Fix the product license reference name (#7367)
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Lukas <llukas.tyla@gmail.com>
  • Loading branch information
oliviertassinari and LukasTy committed Jan 2, 2023
1 parent 3807ec8 commit 457e789
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/copyFiles.mjs
Expand Up @@ -121,9 +121,11 @@ async function prepend(file, string) {
}

async function addLicense(packageData) {
const license = `/** @license MUI v${packageData.version}
const license = `/** @license MUI X v${packageData.version}
*
* This source code is licensed under the MIT license found in the
* This source code is licensed under the ${
packageData.license === 'MIT' ? 'MIT' : 'commercial'
} license found in the
* LICENSE file in the root directory of this source tree.
*/
`;
Expand Down

0 comments on commit 457e789

Please sign in to comment.