aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-10 23:54:50 -0800
committerelijah <elijah@riseup.net>2013-02-10 23:54:50 -0800
commitd68e6a718f0b8c982b0d502558b6b25eb2df23fb (patch)
tree4f7cb904ae593c706775ec150dbd8753a7c739c9 /lib/leap_cli/config
parentb57bd7654615aa501d1e7ad662aaabd70c11620a (diff)
downloadleap_cli-d68e6a718f0b8c982b0d502558b6b25eb2df23fb.tar.gz
leap_cli-d68e6a718f0b8c982b0d502558b6b25eb2df23fb.tar.bz2
add debug notice if file is missing for macro file_path(x)
Diffstat (limited to 'lib/leap_cli/config')
-rw-r--r--lib/leap_cli/config/object.rb2
1 files changed, 1 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)}/