Skip to content

Commit

Permalink
bug Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
initred committed Jan 30, 2020
1 parent 8e9a2d7 commit 430cf5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/InitRed/Tabula/Tabula.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public function parse($format = null, $target = null, $output = null)
$output = Str::replaceLast('/','', $output);
}

$parameters = array_merge($parameters, ['-g', '-p', 'all']);

$finder = new ExecutableFinder();
$binary = $finder->find('java', null, $this->binDir);

Expand All @@ -125,7 +127,7 @@ public function parse($format = null, $target = null, $output = null)
}

$arguments = array_merge(
['java', '-jar', $this->getJarArchive()],
['java', '-Xmx256m', '-Djava.awt.headless=true', '-Dfile.encoding=UTF8', '-jar', $this->getJarArchive()],
$parameters
);

Expand Down

0 comments on commit 430cf5f

Please sign in to comment.