Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
p-m-p committed Jan 11, 2014
1 parent 9358915 commit 8215494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ var Base = module.exports = function Base(args, options) {
catch (e) {
this.appname = this.args[0] || path.basename(process.cwd());
}
this.appname = this.appname.replace(/[^\w\s]+?/g, ' ');;
this.appname = this.appname.replace(/[^\w\s]+?/g, ' ');

this.option('help', {
alias: 'h',
Expand Down
2 changes: 1 addition & 1 deletion test/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('yeoman.generators.Base', function () {

describe('generator.appname', function () {
beforeEach(function () {
this.createDummyGenerator = function(args) {
this.createDummyGenerator = function (args) {
return new this.Dummy(args || [], {
resolved: 'ember:all',
namespace: 'dummy',
Expand Down

0 comments on commit 8215494

Please sign in to comment.