Skip to content

Commit

Permalink
Update create_component.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cobycloud authored Dec 18, 2024
1 parent cc05ddf commit 7ab69b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def main():
placeholders[key] = value

# Construct output path dynamically using placeholders
if not all(key in placeholders for key in ["package_scope", "resource_kind", "package_name"]):
if not all(key in placeholders for key in ["project_tree", "package_name", "resource_kind", "component_name"]):
raise ValueError("Missing required placeholders: package_scope, resource_kind, package_name")

if not placeholders["resource_kind"].endswith("s"):
Expand Down

0 comments on commit 7ab69b4

Please sign in to comment.