From be8badf5d59ce573d44773c87b29880c95b4f08d Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Mon, 11 Sep 2023 18:34:46 +0300 Subject: [PATCH] chore(packages): Fix bug noticed by linter in TOC warining fix --- packages/tableofcontents/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tableofcontents/init.lua b/packages/tableofcontents/init.lua index f0a0880d8..b4036660d 100644 --- a/packages/tableofcontents/init.lua +++ b/packages/tableofcontents/init.lua @@ -117,7 +117,7 @@ function package:registerCommands () self:registerCommand("tableofcontents", function (options, _) local depth = SU.cast("integer", options.depth or 3) local linking = SU.boolean(options.linking, true) - local toc_used = true + toc_used = true local toc = self:readToc() if toc == false then SILE.call("tableofcontents:notocmessage")