Skip to content

Commit fd97dd0

Browse files
committed
missing new line
1 parent b62d06a commit fd97dd0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

deployment-generator/src/gen_other.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,35 +102,35 @@ function genCommands() {
102102
if (config.zero.zero_mode == ""){
103103
} else if (config.zero.zero_mode == "one-directional") {
104104
if (config.zero.subswap == "true"){
105-
commands += '\n6. Deploy XDC-Zero and Subswap'
105+
commands += '\n6. Deploy XDC-Zero and Subswap\n'
106106
commands += ` docker pull xinfinorg/xdc-zero:${config.version.zero}\n`;
107107
commands += ' docker run -v ${PWD}/:app/cicd/mount/' + ` --network generated_docker_net xinfinorg/xdc-zero:${config.version.zero} zeroandsubswap\n`
108108
commands += "\n7. Run Subswap Frontend\n";
109109
commands += ` docker compose --profile subswap_frontend pull\n`;
110110
commands += ` docker compose --profile subswap_frontend up -d\n`;
111111
commands += ` Subswap-Frontend: http://${config.public_ip}:5216\n`;
112112
} else {
113-
commands += '\n6. Deploy XDC-Zero'
113+
commands += '\n6. Deploy XDC-Zero\n'
114114
commands += ` docker pull xinfinorg/xdc-zero:${config.version.zero}\n`;
115115
commands += ' docker run -v ${PWD}/:app/cicd/mount/' + ` --network generated_docker_net xinfinorg/xdc-zero:${config.version.zero} endpointandregisterchain\n`
116116
}
117117
commands += "\nRestart Relayer\n";
118118
commands += ` docker compose --profile services down\n`;
119119
commands += ` docker compose --profile services up -d\n`;
120120
} else if (config.zero.zero_mode == "bi-directional") {
121-
commands += '\n6. Deploy Reverse CSC'
121+
commands += '\n6. Deploy Reverse CSC\n'
122122
commands += ` docker pull xinfinorg/csc:${config.version.csc}\n`;
123123
commands += ' docker run -v ${PWD}/:app/cicd/mount/' + ` --network generated_docker_net xinfinorg/csc:${config.version.csc} reversefull\n`
124124
if (config.zero.subswap == "true"){
125-
commands += '\n7. Deploy XDC-Zero and Subswap'
125+
commands += '\n7. Deploy XDC-Zero and Subswap\n'
126126
commands += ` docker pull xinfinorg/xdc-zero:${config.version.zero}\n`;
127127
commands += ' docker run -v ${PWD}/:app/cicd/mount/' + ` --network generated_docker_net xinfinorg/xdc-zero:${config.version.zero} zeroandsubswap\n`
128128
commands += "\n8. Run Subswap Frontend\n";
129129
commands += ` docker compose --profile subswap_frontend pull\n`;
130130
commands += ` docker compose --profile subswap_frontend up -d\n`;
131131
commands += ` Subswap-Frontend: http://${config.public_ip}:5216\n`;
132132
} else {
133-
commands += '\n7. Deploy XDC-Zero'
133+
commands += '\n7. Deploy XDC-Zero\n'
134134
commands += ` docker pull xinfinorg/xdc-zero:${config.version.zero}\n`;
135135
commands += ' docker run -v ${PWD}/:app/cicd/mount/' + ` --network generated_docker_net xinfinorg/xdc-zero:${config.version.zero} endpointandregisterchain\n`
136136
}

0 commit comments

Comments
 (0)