aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/config/object.rb2
-rw-r--r--lib/leap_cli/log.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb
index b0e3017..6f30fe9 100644
--- a/lib/leap_cli/config/object.rb
+++ b/lib/leap_cli/config/object.rb
@@ -257,7 +257,7 @@ module LeapCli
end
actual_path = Path.find_file(path)
if actual_path.nil?
- Util::log 2, :missing, path
+ Util::log 2, :skipping, "file_path(\"#{path}\") because there is no such file."
nil
else
if actual_path =~ /^#{Regexp.escape(Path.provider_base)}/
diff --git a/lib/leap_cli/log.rb b/lib/leap_cli/log.rb
index e111693..ab361d5 100644
--- a/lib/leap_cli/log.rb
+++ b/lib/leap_cli/log.rb
@@ -88,6 +88,7 @@ module LeapCli
when :nochange then ['no change', :magenta]
when :loading then ['loading', :magenta]
when :missing then ['missing', :yellow, :bold]
+ when :skipping then ['skipping', :yellow, :bold]
when :run then ['run', :magenta]
when :failed then ['FAILED', :red, :bold]
when :completed then ['completed', :green, :bold]