Support spaces in project folder name
This commit is contained in:
parent
31e0d11415
commit
78235a052d
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
def set_overrides_per_project(config)
|
||||
# Acquire a hostname from the project root
|
||||
project_dir_name = File.basename(ENV['DRUPALVM_PROJECT_ROOT']).gsub("_", "-")
|
||||
project_dir_name = File.basename(ENV['DRUPALVM_PROJECT_ROOT']).gsub("_", "-").gsub(" ", "-")
|
||||
host_name = "#{project_dir_name}.test"
|
||||
|
||||
# Override all vconfig values with the new names
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue