Skip to content

Commit

Permalink
refactor(multi-server): update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Sep 23, 2024
1 parent 639bc0e commit b04c120
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion apps/dokploy/server/setup/server-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ const installRequirements = async (serverId: string, logPath: string) => {
return new Promise<void>((resolve, reject) => {
client
.once("ready", () => {
console.log("Client :: ready");
const bashCommand = `
${validatePorts()}
Expand Down
1 change: 0 additions & 1 deletion apps/dokploy/server/utils/builders/nixpacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export const getNixpacksCommand = (
/* No need for any start command, since we'll use nginx later on */
args.push("--no-error-without-start");
}
console.log("args", args);
const command = `nixpacks ${args.join(" ")}`;
let bashCommand = `
echo "Starting nixpacks build..." >> ${logPath};
Expand Down
4 changes: 0 additions & 4 deletions apps/dokploy/server/utils/process/execAsync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,10 @@ export const execAsyncRemote = async (
sleep(1000);
conn
.once("ready", () => {
console.log("Client :: ready");
conn.exec(command, (err, stream) => {
if (err) throw err;
stream
.on("close", (code: number, signal: string) => {
console.log(
`Stream :: close :: code: ${code}, signal: ${signal}`,
);
conn.end();
if (code === 0) {
resolve({ stdout, stderr });
Expand Down

0 comments on commit b04c120

Please sign in to comment.