diff --git a/scripts/preview-theme.js b/scripts/preview-theme.js index 6bb29e68..58aad028 100644 --- a/scripts/preview-theme.js +++ b/scripts/preview-theme.js @@ -562,6 +562,4 @@ export const run = async (prNumber) => { } }; -if (typeof require !== "undefined" && require.main === module) { - run(); -} +run();