Skip to content

Commit

Permalink
fix empty logs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jan 10, 2024
1 parent 8a68325 commit ba718e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fluentci # Run the pipeline
fluentci --help

Usage: fluentci [pipeline] [jobs...]
Version: 0.10.3
Version: 0.10.4

Description:

Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
`
.
Expand Down
4 changes: 2 additions & 2 deletions src/cmd/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ba718e4

Please sign in to comment.