Skip to content

Commit e3a1b28

Browse files
gauravCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c020854 commit e3a1b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regnum2phyx/regnum2phyx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function convertCitationsToBibJSON(citation) {
161161
});
162162

163163
// Since we've moved pages and ISBN into journal, we don't also need it in the main entry.
164-
if (has(entry, 'pages')) entry.pages = undefined;
164+
if (has(entry, 'pages')) delete entry.pages;
165165
} else {
166166
process.stderr.write(`Unknown citation type: '${type}', using anyway.`);
167167
}

0 commit comments

Comments
 (0)