Skip to content

Commit

Permalink
fix: correctly pass args
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Kim committed Sep 25, 2019
1 parent b6813ff commit 8ba46c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compute-witness.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function computeWitness(codePath, outputDirectory = './', outputName = 'wi
return new Promise(resolve => {
const zokrates = spawn(
'/app/zokrates',
['compute-witness', '-i', codePath, '-o', `${parsedOutputPath}${outputName}`, '-a', args],
['compute-witness', '-i', codePath, '-o', `${parsedOutputPath}${outputName}`, '-a', ...args],
{
stdio: ['pipe', 'pipe', 'pipe'],
env: {
Expand Down

0 comments on commit 8ba46c1

Please sign in to comment.