File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/ansible_creator/subcommands Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ def _plugin_scaffold(self, plugin_path: Path) -> None:
208
208
elif self ._plugin_type == "lookup" :
209
209
template_data = self ._get_plugin_template_data ()
210
210
self ._perform_lookup_plugin_scaffold (template_data , plugin_path )
211
+
211
212
elif self ._plugin_type == "module" :
212
213
template_data = self ._get_plugin_template_data ()
213
214
self ._perform_module_plugin_scaffold (template_data , plugin_path )
@@ -250,10 +251,10 @@ def _perform_module_plugin_scaffold(
250
251
template_data : TemplateData ,
251
252
plugin_path : Path ,
252
253
) -> None :
253
- module_path = self ._add_path / "plugins" / "sample_module"
254
- module_path .mkdir (parents = True , exist_ok = True )
254
+ plugin_path = self ._add_path / "plugins" / "sample_module"
255
+ plugin_path .mkdir (parents = True , exist_ok = True )
255
256
resources = ("collection_project.plugins.sample_module" ,)
256
- self ._perform_plugin_scaffold (resources , template_data , module_path )
257
+ self ._perform_plugin_scaffold (resources , template_data , plugin_path )
257
258
258
259
def _perform_plugin_scaffold (
259
260
self ,
You can’t perform that action at this time.
0 commit comments