From 017c70b5b0d11c07afac435215be647ef2f3c6c1 Mon Sep 17 00:00:00 2001 From: ronalabraham Date: Tue, 4 Jun 2019 15:20:00 -0400 Subject: [PATCH] Change `target` to `source` for consistency with docs --- dotbot/plugins/link.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotbot/plugins/link.py b/dotbot/plugins/link.py index 2506237..0b47ac6 100644 --- a/dotbot/plugins/link.py +++ b/dotbot/plugins/link.py @@ -84,7 +84,7 @@ class Link(dotbot.Plugin): 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 @@ class Link(dotbot.Plugin): # 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))