From e54c86444c653141d105e7c5c0d97f1a92bffaf8 Mon Sep 17 00:00:00 2001 From: Janto Date: Sun, 2 Apr 2023 17:33:55 +0200 Subject: [PATCH] support `ignore-missing` for `glob` #284 --- dotbot/plugins/link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotbot/plugins/link.py b/dotbot/plugins/link.py index d0f8634..1dedde1 100644 --- a/dotbot/plugins/link.py +++ b/dotbot/plugins/link.py @@ -63,7 +63,7 @@ class Link(Plugin): glob_results = self._create_glob_results(path, exclude_paths) if len(glob_results) == 0: self._log.warning("Globbing couldn't find anything matching " + str(path)) - success = False + success = ignore_missing continue if len(glob_results) == 1 and destination[-1] == "/": self._log.error("Ambiguous action requested.")