platform: get shell output as utf8

This commit is contained in:
Girish Ramakrishnan
2024-12-19 16:59:28 +01:00
parent c31da4eb2a
commit bd961025f6
3 changed files with 8 additions and 8 deletions

View File

@@ -124,7 +124,7 @@ async function start(existingInfra) {
await docker.deleteContainer('sftp');
debug('startSftp: starting sftp container');
await shell.bash(runCmd, {});
await shell.bash(runCmd, { encoding: 'utf8' });
if (existingInfra.version !== 'none' && existingInfra.images.sftp !== image) await docker.deleteImage(existingInfra.images.sftp);
}