Skip to content

Commit

Permalink
Fixed anchor issue and weird tab issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Lewon committed Sep 29, 2011
1 parent 4782c5f commit 68767f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.rb
Expand Up @@ -155,7 +155,7 @@ def version_for_and_before(stack, env)
stack = params[:stack].to_sym
if Deployinator::Helpers.respond_to?(stack.to_s + "_git_repo_url")
repo_url = Deployinator::Helpers.send(stack.to_s + "_git_repo_url")
if repo_url == /https:\/\//
if repo_url == /^https:\/\//
parts = repo_url.split("/")
user = parts[3]
repo = parts[4].gsub(/\.git$/, "")
Expand Down

1 comment on commit 68767f3

@nkammah
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it should actually be if repo_url =~ /^https:///

Please sign in to comment.