Commit fe0ed89d authored by Laurent Briais's avatar Laurent Briais

Minor

parent 5c7cb536
......@@ -67,7 +67,7 @@ module PowerStencil
attr_reader :project
def setup_plugin
load_capabilities
determine_capabilities
load_plugin_specific_config
load_yaml_command_definition
end
......
......@@ -19,7 +19,7 @@ module PowerStencil
private
def load_capabilities
def determine_capabilities
yaml_file = plugin_capabilities_definition_file
unless File.exists? yaml_file and File.file? yaml_file and File.readable? yaml_file
raise PowerStencil::Error, "Plugin '#{self.name}' has no definition file !"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment