This commit is contained in:
Benjamin Toby 2025-02-07 11:54:13 +01:00
parent 69eb6c1128
commit 7d71316b2c
4 changed files with 8 additions and 2 deletions

File diff suppressed because one or more lines are too long

3
dist/utils/start.js vendored
View File

@ -54,6 +54,9 @@ function startProcess({ command, preflight, postflight, redeploy_file, port, fir
const runPreflight = (0, preflight_1.default)(preflight);
if (!runPreflight) {
console.log(`${console_colors_1.default.FgRed}Error:${console_colors_1.default.Reset} Preflight Failed.`);
setTimeout(() => {
global.DEPLOYING = 0;
}, 2000);
}
else {
(0, kill_child_1.default)(childProcess, port).then((kill) => {

View File

@ -1,6 +1,6 @@
{
"name": "@moduletrace/buncid",
"version": "1.0.7",
"version": "1.0.8",
"description": "Simple CI/CD process For Bun runtime",
"main": "dist/index.js",
"bin": {

View File

@ -86,6 +86,9 @@ export default function startProcess({
console.log(
`${colors.FgRed}Error:${colors.Reset} Preflight Failed.`
);
setTimeout(() => {
global.DEPLOYING = 0;
}, 2000);
} else {
killChild(childProcess, port).then((kill) => {
if (kill) {