Skip to content

Commit

Permalink
chore(packages): Fix bug noticed by linter in TOC warining fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 11, 2023
1 parent 6c1b5f8 commit be8badf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tableofcontents/init.lua
Expand Up @@ -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")
Expand Down

0 comments on commit be8badf

Please sign in to comment.