fix: prevent auto-execution of postCode during import and update build
Some checks failed
Lint / pre-commit Linting (push) Successful in 1m29s
Test / Run Tests (push) Failing after 1m31s

This commit is contained in:
2026-01-04 05:40:33 +00:00
parent 1730ad07fc
commit fff3d92bd2
4 changed files with 898 additions and 262 deletions

View File

@@ -174,9 +174,15 @@ async function postCode() {
});
}
}
postCode();
if (require.main === module) {
postCode();
}
module.exports = {
validateAuthentication,
replacePlaceholders,
postCode,
readReplaceAndWriteFiles,
readFilesIntoDict,
};