Skip to content

Commit

Permalink
fix no-sandbox, must have an equal sign between param name and option
Browse files Browse the repository at this point in the history
  • Loading branch information
gutschilla committed Jun 18, 2019
1 parent e5f4f7a commit 0428e0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/pdf_generator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule PdfGenerator do

require Logger

@vsn "0.5.6"
@vsn "0.5.7"

@moduledoc """
# PdfGenerator
Expand Down Expand Up @@ -206,7 +206,7 @@ defmodule PdfGenerator do
"--paper-height", height,
],
more_params,
if(disable_sandbox, do: ["--chrome-option", "--no-sandbox"], else: [])
if(disable_sandbox, do: ["--chrome-option=--no-sandbox"], else: [])
])
{executable, arguments} |> inspect() |> Logger.debug()
{executable, arguments}
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule PdfGenerator.Mixfile do
[
app: :pdf_generator,
name: "PDF Generator",
version: "0.5.6",
version: "0.5.7",
elixir: ">= 1.1.0",
deps: deps(),
description: description(),
Expand Down

0 comments on commit 0428e0b

Please sign in to comment.