From 5d05be1520b9818db706259afccd25dd5dec5002 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 21 Jul 2021 13:19:24 +0300 Subject: [PATCH] fix(packages): Avoid crash on warn by using correct function --- packages/pandoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pandoc.lua b/packages/pandoc.lua index 6db4af0e3..25603264f 100644 --- a/packages/pandoc.lua +++ b/packages/pandoc.lua @@ -40,7 +40,7 @@ local handlePandocArgs = function (options) end) end else - SU.warning("Unhandled class ‘"..class.."’, not mapped to legacy option and no matching wrapper function") + SU.warn("Unhandled class ‘"..class.."’, not mapped to legacy option and no matching wrapper function") end end options.classes = nil