prevent cannot set property of undefined error
prevent cannot set property of undefined error

the opts object should be defined before the error checking line.
mehrdadrafiee/newww,aredridel/newww,RichardLitt/newww,Constructor-io/newww,balupton/newww,sub2u/newww,k88hudson/newww,supriyantomaftuh/newww,ericdouglas/newww,psalaets/newww,imshivs/newww,whitneyit/newww,rwaldron/newww,aks-/newww,marcellodesales/newww,aredridel/newww,dannycoates/newww,sub2u/newww,dancrumb/newww,aredridel/newww,AgtLucas/newww,seldo/newww,pombredanne/newww,kemitchell/newww,amilaonbitlab/newww,whitneyit/newww,tiandavis/newww,n1889/newww,dannycoates/newww,dancrumb/newww,geek/newww,psalaets/newww,mikaelbr/newww,mehrdadrafiee/newww,Constructor-io/newww,pombredanne/newww,joeybaker/newww,balupton/newww,zeusdeux/newww,nexdrew/newww,sub2u/newww,rutaihwa/newww,tiandavis/newww,geek/newww,ericdouglas/newww,marcellodesales/newww,ChALkeR/newww,rutaihwa/newww,DanielBarnes/newww,mikaelbr/newww,seldo/newww,AgtLucas/newww,rwaldron/newww,k88hudson/newww,supriyantomaftuh/newww,DanielBarnes/newww,nexdrew/newww,tiandavis/newww,n1889/newww,amilaonbitlab/newww,imshivs/newww,watilde/newww,aks-/newww,pombredanne/newww,DanielBarnes/newww,joeybaker/newww,rutaihwa/newww,k88hudson/newww,ChALkeR/newww,Constructor-io/newww,watilde/newww,alexindigo/newww,ChALkeR/newww,n1889/newww,geek/newww,watilde/newww,AgtLucas/newww,jonathanmarvens/npm-newww,zeusdeux/newww,seldo/newww,kemitchell/newww,imshivs/newww,kemitchell/newww,aks-/newww,nexdrew/newww,zeusdeux/newww,RichardLitt/newww,whitneyit/newww,amilaonbitlab/newww,dancrumb/newww,supriyantomaftuh/newww,psalaets/newww,jonathanmarvens/npm-newww,marcellodesales/newww,alexindigo/newww,jonathanmarvens/npm-newww