Skip to content

Commit 14766ef

Browse files
committed
Update options.js
1 parent 2345810 commit 14766ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/options.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ function sanitizeAndStandardizeOptionsInput(options) {
123123
options.poSources = [options.poSources];
124124
}
125125
options.poSources = options.poSources
126-
.map(v => (typeof v === 'string' ? v.trim() : v))
127-
.filter(v => (typeof v === 'string' && v.length > 0))
126+
.map(v => v.trim())
127+
.filter(v => (v.length > 0))
128128
;
129129
}
130130

0 commit comments

Comments
 (0)