Skip to content

Commit

Permalink
fix(sonar rule S2424): fix overriden class
Browse files Browse the repository at this point in the history
  • Loading branch information
gregswindle committed Nov 16, 2017
1 parent 2fb2209 commit e2def09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions generators/contribute/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'
const Generator = require('yeoman-generator')
const YeomanGenerator = require('yeoman-generator')

module.exports = class extends Generator {
class ContributingGenerator extends YeomanGenerator {
prompting () {
const prompts = [{
type: 'confirm',
Expand All @@ -23,3 +23,5 @@ module.exports = class extends Generator {
)
}
}

module.exports = ContributingGenerator

0 comments on commit e2def09

Please sign in to comment.