From 022f2e708ab03d42d95026539b78a51bfd28a3e1 Mon Sep 17 00:00:00 2001 From: Ben Edgington Date: Wed, 19 Feb 2025 10:14:56 +0000 Subject: [PATCH] Fiddle with exports again --- bin/build/prebuild.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/build/prebuild.mjs b/bin/build/prebuild.mjs index b85c37d..d0cd6e5 100644 --- a/bin/build/prebuild.mjs +++ b/bin/build/prebuild.mjs @@ -71,7 +71,7 @@ function runCheck( } // Set `exitToShell` to false to continue processing after running checks (e.g. while building) -const runChecks = (reporter = customReporter, exitToShell = true) => { +export const runChecks = (reporter = customReporter, exitToShell = true) => { var allOk = true @@ -172,5 +172,3 @@ const runChecks = (reporter = customReporter, exitToShell = true) => { process.exit(allOk ? 0 : 2) } } - -export default runChecks