We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2345810 commit 14766efCopy full SHA for 14766ef
src/options.js
@@ -123,8 +123,8 @@ function sanitizeAndStandardizeOptionsInput(options) {
123
options.poSources = [options.poSources];
124
}
125
options.poSources = options.poSources
126
- .map(v => (typeof v === 'string' ? v.trim() : v))
127
- .filter(v => (typeof v === 'string' && v.length > 0))
+ .map(v => v.trim())
+ .filter(v => (v.length > 0))
128
;
129
130
0 commit comments