Skip to content

Commit 3785e12

Browse files
committed
newline fix
1 parent 922b3dd commit 3785e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layersbox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ def create_databases(dir, service_name, database_env_files):
740740
db_password = mysqlcreate_output.split(" -p")[1].split(" -hmysql")[0]
741741
# write password to env file
742742
with open(join(servicedir, service_name, env_file), "a") as outfile:
743-
outfile.write("\n{}_DB_PASS={}".format(db_key, db_password))
743+
outfile.write("\n{}_DB_PASS={}\n".format(db_key, db_password))
744744

745745
# clean up and delete secret.env content, otherwise db is created again
746746
with open(join(dir, "tmp", "secret.env"), "w"):

0 commit comments

Comments
 (0)