From 3c3e9a12cda1f1d4a28502344bb931832ba9e7be Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Wed, 29 May 2019 22:57:27 +0200 Subject: Lua Version type: shorten "version too old" message --- src/Text/Pandoc/Lua/Marshaling/Version.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Lua/Marshaling/Version.hs b/src/Text/Pandoc/Lua/Marshaling/Version.hs index 3c667cbc4..f1d4bfd7f 100644 --- a/src/Text/Pandoc/Lua/Marshaling/Version.hs +++ b/src/Text/Pandoc/Lua/Marshaling/Version.hs @@ -134,7 +134,7 @@ __tostring v = return (showVersion v) -- | Default error message when a version is too old. This message is -- formatted in Lua with the expected and actual versions as arguments. versionTooOldMessage :: String -versionTooOldMessage = "version too old: expected version %s or newer, got %s" +versionTooOldMessage = "expected version %s or newer, got %s" -- | Throw an error if this version is older than the given version. -- FIXME: This function currently requires the string library to be -- cgit v1.2.3