From 92e8e5eff3c2d15990f45b09993b72bfa05cbd12 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 2 Jan 2023 13:15:05 +0100 Subject: [PATCH] [core] Fix the product license reference name (#7367) Signed-off-by: Olivier Tassinari Co-authored-by: Lukas --- scripts/copyFiles.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/copyFiles.mjs b/scripts/copyFiles.mjs index 9237d6fb2b9b..2f661a8d3e69 100644 --- a/scripts/copyFiles.mjs +++ b/scripts/copyFiles.mjs @@ -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. */ `;