Skip to content

Commit

Permalink
fix(core): A typo in a variable prevents using -u with a class
Browse files Browse the repository at this point in the history
Closes: #1569
  • Loading branch information
Omikhleia authored and Didier Willis committed Sep 8, 2022
1 parent a60c6f4 commit b8f5c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/sile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ SILE.use = function (module, options)
if class then
SU.error("Cannot load a class after one is already instantiated")
end
SILE.sratch.class_from_uses = pack
SILE.scratch.class_from_uses = pack
elseif pack.type == "inputter" then
SILE.inputters[name] = pack
SILE.inputter = pack(options)
Expand Down

0 comments on commit b8f5c40

Please sign in to comment.