Skip to content

Commit

Permalink
Fixing default project name in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed May 21, 2013
1 parent 791f17b commit 0e6edba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/package.coffee
Expand Up @@ -16,7 +16,7 @@ module.exports = (grunt) ->
prompts =
properties:
name:
default : grunt.option('name') || path.dirname(path.resolve(__dirname, '../'))
default : grunt.option('name') || path.basename(path.resolve(__dirname, '../'))
description: "Project name?"
pattern : /^[a-zA-Z\-\_\d]+$/
message : 'Name must be only letters, numbers, underscores, or dashes'
Expand Down

0 comments on commit 0e6edba

Please sign in to comment.