From 6b132e1a972b84bf08a41f8dae178224ae820a7a Mon Sep 17 00:00:00 2001 From: Tal Kol Date: Sun, 8 May 2022 23:48:41 +0100 Subject: [PATCH] Improve cross-platform (Windows) --- build/_build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/_build.ts b/build/_build.ts index 586355b..9da0d66 100644 --- a/build/_build.ts +++ b/build/_build.ts @@ -101,7 +101,7 @@ async function main() { // run the func compiler to create a fif file console.log(` - Trying to compile '${mergedFuncArtifact}' with 'func' compiler..`); - const buildErrors = child_process.execSync(`func -APS -o build/${contractName}.fif ${mergedFuncArtifact} 1>&3 2>&1`).toString(); + const buildErrors = child_process.execSync(`func -APS -o build/${contractName}.fif ${mergedFuncArtifact} 2>&1 1>node_modules/.tmpfunc`).toString(); if (buildErrors.length > 0) { console.log(` - OH NO! Compilation Errors! The compiler output was:`); console.log(`\n${buildErrors}`);