File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11{
2- "version" : " 0.2.5 " ,
2+ "version" : " 0.3.0 " ,
33 "name" : " dotup-typescript-yeoman-generators" ,
44 "author" : {
55 "name" : " Peter Ullrich" ,
Original file line number Diff line number Diff line change @@ -62,8 +62,10 @@ export abstract class BaseGenerator<TStep extends string> extends generator impl
6262 this . composeWith ( require . resolve ( 'generator' ) , optArgs ) ;
6363 }
6464
65- subscribeSharedOption ( questionName : TStep | string ) : void {
66- this . sharedOptions . subscribe ( this , questionName ) ;
65+ trySubscribeSharedOption ( questionName : TStep | string ) : void {
66+ if ( this . sharedOptions !== undefined ) {
67+ this . sharedOptions . subscribe ( this , questionName ) ;
68+ }
6769 }
6870
6971 addSkipEjsReplacement ( targetPath : string ) : void {
You can’t perform that action at this time.
0 commit comments