Merge pull request #435 from anmol098/fix/chart_file_not_found_error

Chart file is being copied properly
This commit is contained in:
Jan Jaden Schmidt
2023-03-22 15:40:17 +01:00
committed by GitHub

View File

@@ -94,8 +94,8 @@ class GitHubManager:
:param src_path: Source file path. :param src_path: Source file path.
""" """
dst_path = join(GitHubManager.REPO.working_tree_dir, src_path) dst_path = join(GitHubManager.REPO.working_tree_dir, src_path)
makedirs(dirname(src_path), exist_ok=True) makedirs(dirname(dst_path), exist_ok=True)
copy(dst_path, src_path) copy(src_path, dst_path)
GitHubManager.REPO.git.add(dst_path) GitHubManager.REPO.git.add(dst_path)
@staticmethod @staticmethod