lib/octopress-ink/assets/config.rb in octopress-ink-1.0.0.rc.38 vs lib/octopress-ink/assets/config.rb in octopress-ink-1.0.0.rc.39
- old
+ new
@@ -13,12 +13,12 @@
end
# If config plugin config file exists, return contents for list command
def info
if exists?(config = plugin_path)
- File.open(config).read.gsub(/^/,' ')
+ Ink::Utils.pretty_print_yaml(read)
else
- " none"
+ " none"
end
end
def read
config = {}