File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,19 +39,19 @@ module.exports = {
3939 behanceId : function ( data ) {
4040 const { person } = data
4141 const pattern = new RegExp ( '^(http|https)://(www.)?behance.net/' )
42- return person . data . url . replace ( pattern , '' )
42+ return person . data . url ? .replace ( pattern , '' )
4343 } ,
4444
4545 twitterId : function ( data ) {
4646 const { person } = data
4747 const pattern = new RegExp ( '^(http|https)://(www.)?twitter.com/' )
48- return person . data . url . replace ( pattern , '' )
48+ return person . data . url ? .replace ( pattern , '' )
4949 } ,
5050
5151 telegramId : function ( data ) {
5252 const { person } = data
5353 const pattern = new RegExp ( '^(http|https)://(www.)?t.me/' )
54- return person . data . url . replace ( pattern , '' )
54+ return person . data . url ? .replace ( pattern , '' )
5555 } ,
5656
5757 badges : function ( data ) {
You can’t perform that action at this time.
0 commit comments