diff options
-rwxr-xr-x | upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index 123dbcc5..e87eb231 100755 --- a/upd8.js +++ b/upd8.js @@ -290,7 +290,7 @@ const linkDirectory = (key, {expose = null, attr = null, ...conf} = {}) => ...conf }); -const linkPathname = (key, conf) => linkHelper((pathname, {to}) => to(key, pathname), conf); +const linkPathname = (key, conf) => linkHelper(({directory: pathname}, {to}) => to(key, pathname), conf); const linkIndex = (key, conf) => linkHelper((_, {to}) => to('localized.' + key), conf); const link = { |