Skip to content

Commit

Permalink
remove the ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Feb 7, 2024
1 parent e10bac5 commit 1555a3e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/copyFiles.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,7 @@ async function run() {
try {
const packageData = await createPackageFile();

const filesToCopy = [
'./README.md',

// TODO: Remove `grid` folder to flatten the structure
packageData.name.includes('grid') ? '../../../CHANGELOG.md' : '../../CHANGELOG.md',
];
const filesToCopy = ['./README.md', '../../CHANGELOG.md'];

const hasLicenseFileInPackage = await fse.exists(path.join(packagePath, 'LICENSE'));
if (hasLicenseFileInPackage) {
Expand Down

0 comments on commit 1555a3e

Please sign in to comment.