mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-11-11 07:30:28 +00:00
rollback cwd parameter for clone
This commit is contained in:
1 parent
dc8a52f6c0
commit
cbcc796a3a
2 files changed
+2
-2
No files matched your search
@@ -86,7 +86,7 @@ class Sources(LazyLogging):
|
||||
elif remote is not None:
|
||||
instance.logger.info("clone remote %s to %s using branch %s", remote.git_url, sources_dir, branch)
|
||||
Sources._check_output("git", "clone", "--branch", branch, "--single-branch",
|
||||
remote.git_url, str(sources_dir), logger=instance.logger)
|
||||
remote.git_url, str(sources_dir), cwd=sources_dir.parent, logger=instance.logger)
|
||||
else:
|
||||
# it will cause an exception later
|
||||
instance.logger.error("%s is not initialized, but no remote provided", sources_dir)
|
||||
|
||||
Reference in new issue
Block a user