Skip to content

Commit 7e9f564

Browse files
committed
Merge pull request redhat-developer#573 from adelasofia/docker_error
Fixes 'missing argument: -p' error when not running docker
2 parents 8e8d9e0 + 486af48 commit 7e9f564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def which(cmd, opts = {})
424424
end
425425

426426
def awestruct_port(profile)
427-
if profile.to_sym == :docker || :drupal
427+
if profile.to_sym == :docker || profile.to_sym == :drupal
428428
#If we're in docker we want to run the whole awestruct preview on the same port
429429
ENV['AWESTRUCT_HOST_PORT']
430430
else

0 commit comments

Comments
 (0)