Change target
to source
for consistency with docs
This commit is contained in:
parent
c97472bc27
commit
017c70b5b0
1 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ class Link(dotbot.Plugin):
|
||||||
success &= self._create(destination)
|
success &= self._create(destination)
|
||||||
if not self._exists(os.path.join(self._context.base_directory(), path)):
|
if not self._exists(os.path.join(self._context.base_directory(), path)):
|
||||||
success = False
|
success = False
|
||||||
self._log.warning('Nonexistent target %s -> %s' %
|
self._log.warning('Nonexistent source %s -> %s' %
|
||||||
(destination, path))
|
(destination, path))
|
||||||
continue
|
continue
|
||||||
if force or relink:
|
if force or relink:
|
||||||
|
@ -227,10 +227,10 @@ class Link(dotbot.Plugin):
|
||||||
# again, we use absolute_source to check for existence
|
# again, we use absolute_source to check for existence
|
||||||
elif not self._exists(absolute_source):
|
elif not self._exists(absolute_source):
|
||||||
if self._is_link(link_name):
|
if self._is_link(link_name):
|
||||||
self._log.warning('Nonexistent target %s -> %s' %
|
self._log.warning('Nonexistent source %s -> %s' %
|
||||||
(link_name, source))
|
(link_name, source))
|
||||||
else:
|
else:
|
||||||
self._log.warning('Nonexistent target for %s : %s' %
|
self._log.warning('Nonexistent source for %s : %s' %
|
||||||
(link_name, source))
|
(link_name, source))
|
||||||
else:
|
else:
|
||||||
self._log.lowinfo('Link exists %s -> %s' % (link_name, source))
|
self._log.lowinfo('Link exists %s -> %s' % (link_name, source))
|
||||||
|
|
Loading…
Reference in a new issue