binduwavell / generator-alfresco

A Yeomen generator based on the Alfresco all-in-one Maven archetype with some generators and an opinionated project structure.
https://github.com/binduwavell/generator-alfresco#readme
Apache License 2.0
29 stars 15 forks source link

Setting the source module by default in a project with a single module prints the same INFO message twice #41

Closed vprince1 closed 8 years ago

vprince1 commented 8 years ago

This is a minor issue.

When I set the source module type for a project with a single module using the following code in the constructor arguments[1][constants.PROP_WAR] = constants.WAR_TYPE_REPO; , I see the INFO messages in both the prompts being called in source-selecting-subgenerator.js.

yo alfresco:model

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |    Adding model to boo   |
   `---------´   |         project!         |
    ( _´U`_ )    '--------------------------'
    /___A___\
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

INFO:  Using only available source module: org.alfresco:repo-amp:1.0.0-SNAPSHOT:amp:repo:source
INFO:  Using only available source module: org.alfresco:repo-amp:1.0.0-SNAPSHOT:amp:repo:source
binduwavell commented 8 years ago

Oops, thanks