Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Sep 1, 2024
1 parent a26f737 commit 8804c13
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/resolvers/fossil.cr
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ module Shards

def update_local_cache
if cloned_repository? && origin_changed?
Log.debug {"A local clone exists but the origin has changed... deleting the local repository"}
Log.debug { "A local clone exists but the origin has changed... deleting the local repository" }
delete_repository
@updated_cache = false
end
Expand All @@ -356,7 +356,7 @@ module Shards
mirror_repository
end

Log.debug {"updated local cache"}
Log.debug { "updated local cache" }
@updated_cache = true
end

Expand Down Expand Up @@ -424,7 +424,7 @@ module Shards
Log.debug { "#{origin_url} == #{fossil_url}" }
return false
end

if origin_url.nil? || fossil_url.nil?
Log.debug { "origin_url=#{origin_url.nil?} fossil_url=#{fossil_url.nil?}" }
return true
Expand Down
4 changes: 2 additions & 2 deletions src/resolvers/git.cr
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ module Shards

def update_local_cache
if cloned_repository? && origin_changed?
Log.debug {"A local clone exists but the origin has changed... deleting the local repository"}
Log.debug { "A local clone exists but the origin has changed... deleting the local repository" }
delete_repository
@updated_cache = false
end
Expand All @@ -307,7 +307,7 @@ module Shards
mirror_repository
end

Log.debug {"updated local cache"}
Log.debug { "updated local cache" }
@updated_cache = true
end

Expand Down
4 changes: 2 additions & 2 deletions src/resolvers/hg.cr
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ module Shards

def update_local_cache
if cloned_repository? && origin_changed?
Log.debug {"A local clone exists but the origin has changed... deleting the local repository"}
Log.debug { "A local clone exists but the origin has changed... deleting the local repository" }
delete_repository
@updated_cache = false
end
Expand All @@ -325,7 +325,7 @@ module Shards
mirror_repository
end

Log.debug {"updated local cache"}
Log.debug { "updated local cache" }
@updated_cache = true
end

Expand Down

0 comments on commit 8804c13

Please sign in to comment.