Skip to content

Commit

Permalink
fix(gen:heroku): fix module export, gen base
Browse files Browse the repository at this point in the history
closes #2148
  • Loading branch information
Awk34 committed Sep 1, 2016
1 parent bae1c86 commit 8e50326
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/generators/heroku/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ import {exec} from 'child_process';
import chalk from 'chalk';
import path from 'path';
import s from 'underscore.string';
import {genNamedBase} from '../generator-base';
import {genBase} from '../generator-base';

export default class Generator extends Base {
export class Generator extends Base {
constructor(...args) {
super(...args);

this.sourceRoot(path.join(__dirname, '../../templates/heroku'));
}

initializing() {
return genNamedBase(this);
return genBase(this);
}

askForName() {
Expand Down Expand Up @@ -203,3 +203,5 @@ Then deploy with
});
}
}

module.exports = Generator;

0 comments on commit 8e50326

Please sign in to comment.