Skip to content

Commit

Permalink
Do not check for registry conflicts if repository location is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Jun 11, 2018
1 parent 669eecc commit 02cd729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
API-registry
checkForRegistryConflicts

"If the repository has no location, do not check for conflicts."
self location ifNil: [ ^ self ].

self class registry
detect: [ :repo | repo location = self location ]
ifFound: [ :repo | self origin = repo origin
Expand Down

0 comments on commit 02cd729

Please sign in to comment.