Skip to content

Commit

Permalink
style: fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Jan 23, 2024
1 parent f79df63 commit 3f0d1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function getProperty(obj, name) {
const len = split.length;

if (!len) {
if(result === 0) return result;
if (result === 0) return result;
return result || '';
}
if (typeof result !== 'object') return '';
Expand Down

0 comments on commit 3f0d1e8

Please sign in to comment.