diff --git a/tools/apply-patches.js b/tools/apply-patches.js index a8a8d72af1df..250ca6906df5 100644 --- a/tools/apply-patches.js +++ b/tools/apply-patches.js @@ -61,7 +61,6 @@ async function applyPatches(rawFolder, outputFolder, type) { ]; await createFolderIfNeeded(outputFolder); - await applyFreezePatches(rawFolder, outputFolder); for (const { name, srcDir, dstDir, patchDir, fileExt } of packages) { if (!type.includes(name)) { @@ -98,6 +97,8 @@ async function applyPatches(rawFolder, outputFolder, type) { } } } + + await applyFreezePatches(rawFolder, outputFolder); }