diff --git a/package.json b/package.json index cc4359f..c090d8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ultraio/contract-builder", - "version": "1.0.3", + "version": "1.0.4", "description": "", "bin": { "contract-builder": "./bin/cli.js" diff --git a/src/builder/index.ts b/src/builder/index.ts index 1f3b001..8947a60 100644 --- a/src/builder/index.ts +++ b/src/builder/index.ts @@ -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); + } } }