Skip to content

Commit

Permalink
Tupo in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Oct 23, 2024
1 parent f5feae9 commit b937b48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/filters/prepare-affiliations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- author dictionary to contain all the information, not
-- just the index in the global affiliation list

local function perepare_affiliations (meta)
local function prepare_affiliations (meta)
-- note that there's a difference between meta.authors (the original)
-- and meta.author (the processed one)
for _, author in ipairs(meta.authors or {}) do
Expand Down Expand Up @@ -32,7 +32,7 @@ local function perepare_affiliations (meta)
end

function Meta (meta)
local ok, result = pcall(perepare_affiliations, meta)
local ok, result = pcall(prepare_affiliations, meta)
if ok then
return result
end
Expand Down

0 comments on commit b937b48

Please sign in to comment.