Skip to content

Commit 7ed5b46

Browse files
committed
Add default step val
This is just to prevent the compilation warning.
1 parent ab36b0c commit 7ed5b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vyasa/parser/env.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ defmodule Vyasa.Parser.Env do
313313

314314
defp maybe_linefeed(%Continuation{start_quote: "\""}, input) do
315315
if String.ends_with?(input, "\\") do
316-
String.slice(input, 0..-2)
316+
String.slice(input, 0..-2//-1)
317317
else
318318
input <> "\n"
319319
end

0 commit comments

Comments
 (0)