Skip to content

Commit

Permalink
Indention issues
Browse files Browse the repository at this point in the history
  • Loading branch information
drewwells committed Dec 30, 2013
1 parent 10bf200 commit 5dbe263
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/lolcommits/git_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class GitInfo
attr_accessor :sha, :message, :repo_internal_path, :repo, :url

def remote_https_url(url)
url.gsub(':','/').gsub(/^git@/,'https://').gsub(/\.git$/,'') + '/commit/'
url.gsub(':','/').gsub(/^git@/,'https://').gsub(/\.git$/,'') + '/commit/'
end

def initialize
Expand Down
4 changes: 2 additions & 2 deletions lib/lolcommits/plugins/lolsrv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def initialize(runner)
def run
return unless valid_configuration?
fork { sync() }
end
end

def is_configured?
!configuration["enabled"].nil? && configuration["server"]
Expand Down Expand Up @@ -55,7 +55,7 @@ def upload(file, sha)
:repo => self.runner.repo,
:date => File.ctime(file),
:sha => sha)
rescue => error
rescue => e
log_error(e,"ERROR: Upload of lol #{sha} FAILED #{e.class} - #{e.message}")
return
end
Expand Down

0 comments on commit 5dbe263

Please sign in to comment.