Skip to content

Commit

Permalink
fix black formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thammegowda committed Jul 15, 2022
1 parent b24cd78 commit 0cad230
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mephisto/abstractions/architects/heroku_architect.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def __setup_heroku_server(self) -> str:
server_dir = self.__get_build_directory()

print("Heroku: Starting server...")
branch = 'main'
branch = "main"
heroku_server_directory_path = os.path.join(server_dir, "router")
sh.git(shlex.split(f"-C {heroku_server_directory_path} init -b {branch}"))

Expand Down Expand Up @@ -419,7 +419,9 @@ def __setup_heroku_server(self) -> str:
# commit and push to the heroku server
sh.git(shlex.split(f"-C {heroku_server_directory_path} add -A"))
sh.git(shlex.split(f'-C {heroku_server_directory_path} commit -m "app"'))
sh.git(shlex.split(f"-C {heroku_server_directory_path} push -f heroku {branch}"))
sh.git(
shlex.split(f"-C {heroku_server_directory_path} push -f heroku {branch}")
)

os.chdir(heroku_server_directory_path)
subprocess.check_output(
Expand Down

0 comments on commit 0cad230

Please sign in to comment.