We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177d1a6 commit d379bdfCopy full SHA for d379bdf
src/functions.lua2p
@@ -2649,7 +2649,11 @@ function _G.rewriteOutputPath(pathRel)
2649
end
2650
2651
if type(site._outputPathFormat) == "function" then
2652
- local sitePathNew = site._outputPathFormat(sitePath)
+ local sitePathNew
2653
+ !PUSH_CONTEXT "none"
2654
+ local rewriteOutputPath_callback = site._outputPathFormat -- :BetterTraceback
2655
+ sitePathNew = rewriteOutputPath_callback(sitePath)
2656
+ !POP_CONTEXT()
2657
2658
if type(sitePathNew) ~= "string" then
2659
errorf("config.rewriteOutputPath() did not return a string. (%s)", sitePath)
0 commit comments