flake/create: fix "directory does not exist" error
This commit is contained in:
parent
563ead4652
commit
824c5d3f80
@ -42,7 +42,7 @@ def git_command(directory: Path, *args: str) -> list[str]:
|
||||
|
||||
@API.register
|
||||
def create_clan(options: CreateOptions) -> CreateClanResponse:
|
||||
directory = Path(options.directory)
|
||||
directory = Path(options.directory).resolve()
|
||||
template_url = options.template_url
|
||||
if not directory.exists():
|
||||
directory.mkdir()
|
||||
|
Loading…
Reference in New Issue
Block a user