Skip to content
Permalink
Browse files

Change `target` to `source` for consistency with docs

  • Loading branch information...
ronalabraham committed Jun 4, 2019
1 parent c97472b commit 017c70b5b0d11c07afac435215be647ef2f3c6c1
Showing with 3 additions and 3 deletions.
  1. +3 −3 dotbot/plugins/link.py
@@ -84,7 +84,7 @@ def _process_links(self, links):
success &= self._create(destination)
if not self._exists(os.path.join(self._context.base_directory(), path)):
success = False
self._log.warning('Nonexistent target %s -> %s' %
self._log.warning('Nonexistent source %s -> %s' %
(destination, path))
continue
if force or relink:
@@ -227,10 +227,10 @@ def _link(self, source, link_name, relative):
# again, we use absolute_source to check for existence
elif not self._exists(absolute_source):
if self._is_link(link_name):
self._log.warning('Nonexistent target %s -> %s' %
self._log.warning('Nonexistent source %s -> %s' %
(link_name, source))
else:
self._log.warning('Nonexistent target for %s : %s' %
self._log.warning('Nonexistent source for %s : %s' %
(link_name, source))
else:
self._log.lowinfo('Link exists %s -> %s' % (link_name, source))

0 comments on commit 017c70b

Please sign in to comment.
You can’t perform that action at this time.