Merge pull request #568 from Aigeruth/fix/project_name
Convert project_name to lowercase
This commit is contained in:
commit
4827e60641
2 changed files with 7 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class Command(DocoptCommand):
|
|||
|
||||
def get_project_name(self, config_path, project_name=None):
|
||||
def normalize_name(name):
|
||||
return re.sub(r'[^a-zA-Z0-9]', '', name)
|
||||
return re.sub(r'[^a-z0-9]', '', name.lower())
|
||||
|
||||
project_name = project_name or os.environ.get('FIG_PROJECT_NAME')
|
||||
if project_name is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue