Skip to content

Commit

Permalink
Miniscule after-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanlesage committed Dec 15, 2020
1 parent 919a74b commit e1dac6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/util/extract-bibtex-attachments.js
Expand Up @@ -41,7 +41,7 @@ module.exports = function (fileContents, baseDir = '') {
let f = property.value[0].value.split(';')
f = f.map(elem => {
// Extract the file paths
if (elem.indexOf(':') > 0) {
if (elem.indexOf(':') >= 0) {
return elem.split(':')[1]
} else {
return elem
Expand Down

0 comments on commit e1dac6d

Please sign in to comment.