Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Rename .hbs to .handlebars" #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ module.exports = generators.Base.extend({
const name = this.name,
folder = this.folder,
tag = _.get(this, 'answers.tag'),
tpl = 'template.handlebars';
tpl = 'template.hbs';

if (tag === 'comment') {
// copy over the meta component template
this.fs.copyTpl(this.templatePath('comment.handlebars'), path.join(folder, tpl), { name: name });
this.fs.copyTpl(this.templatePath('comment.hbs'), path.join(folder, tpl), { name: name });
} else {
// copy over the regular template
this.fs.copyTpl(this.templatePath(tpl), path.join(folder, tpl), { name: name, tag: tag });
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const path = require('path'),
test = require('yeoman-test'),
assert = require('yeoman-assert'),
folder = path.join('components', 'foo'),
tpl = 'template.handlebars',
tpl = 'template.hbs',
styles = 'styles.scss',
schema = 'schema.yml',
bootstrap = 'bootstrap.yml';
Expand Down