diff --git a/README.md b/README.md index 7f84847..86786cb 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ fluentci # Run the pipeline fluentci --help Usage: fluentci [pipeline] [jobs...] -Version: 0.10.3 +Version: 0.10.4 Description: diff --git a/main.ts b/main.ts index 8372860..4a12af0 100644 --- a/main.ts +++ b/main.ts @@ -22,7 +22,7 @@ import { brightGreen } from "./deps.ts"; export async function main() { await new Command() .name("fluentci") - .version("0.10.3") + .version("0.10.4") .description( ` . diff --git a/src/cmd/agent.ts b/src/cmd/agent.ts index 84455e3..ec4ae20 100644 --- a/src/cmd/agent.ts +++ b/src/cmd/agent.ts @@ -168,12 +168,12 @@ const spawnFluentCI = async ( }, }); const process = command.spawn(); - const logs = ""; + let logs = ""; const writable = new WritableStream({ write: (chunk) => { const text = new TextDecoder().decode(chunk); logger.info(text); - logs.concat(text); + logs = logs.concat(text); fetch(`${FLUENTCI_EVENTS_URL}?client_id=${clientId}`, { method: "POST", body: text,