Skip to content

Commit

Permalink
Fix Double Output Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor-Ultra committed Jun 14, 2023
1 parent b79da96 commit d4f6aa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ultraio/contract-builder",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"bin": {
"contract-builder": "./bin/cli.js"
Expand Down
6 changes: 3 additions & 3 deletions src/builder/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ export async function buildContract(
echo: true,
workdir: isCmake ? '/opt/buildable/build' : undefined,
});
}

if (options.appendLine) {
options.appendLine(response);
if (options.appendLine) {
options.appendLine(response);
}
}
}

0 comments on commit d4f6aa5

Please sign in to comment.