Skip to content

generator creates .js in spec folder when coffee selected #13

Description

@stephancom
stephancom$ npm ls -g --depth=0 2> /dev/null | grep subtask
├── generator-gulp-angular-subtask@0.9.1
stephancom$ yo gulp-angular-subtask:factory factoryTest --script-type coffee
   create src/app/factoryTest/factories/factoryTest-factory.coffee
   create src/app/factoryTest/spec/factories/factoryTest-factory.spec.js
stephancom$ yo gulp-angular-subtask:service serviceTest
   create src/app/serviceTest/services/serviceTest-service.coffee
   create src/app/serviceTest/spec/services/serviceTest-service.spec.js

using --script-type js creates js for both as expected. Same behavior with coffeescript default and no --script-type. I see there are .coffee templates for the tests. What gives? Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions