From 5a50ba2b2afde554f75abe4b88c929f71f141780 Mon Sep 17 00:00:00 2001 From: James Gough Date: Sat, 25 May 2024 13:25:08 +0100 Subject: [PATCH] fix it --- lib/credo/code.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/credo/code.ex b/lib/credo/code.ex index 294439383..cb72c4c03 100644 --- a/lib/credo/code.ex +++ b/lib/credo/code.ex @@ -148,6 +148,10 @@ defmodule Credo.Code do {:ok, _, _, _, tokens} -> tokens + # Elixir >= 1.17 + {:ok, _, _, _, tokens, _} -> + tokens + {:error, _, _, _, tokens} -> tokens end