We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 903f520 commit c2735a3Copy full SHA for c2735a3
lib/utils/getPrefix.es6
@@ -9,5 +9,6 @@ export default (function() {
9
)[1];
10
// 'ms' is not titlecased
11
if (pre === 'ms') return pre;
12
+ if (pre === undefined || pre === null) return '';
13
return pre.slice(0, 1).toUpperCase() + pre.slice(1);
14
})();
0 commit comments