Fix locale.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
CismonX 2021-10-23 02:58:40 +08:00
parent 26c8d32129
commit 7820db6955
Signed by: cismonx
GPG Key ID: 3094873E29A482FB
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export function exec(path: string, args: string[], maxBuffer: number) {
return new Promise<ExecResult>(
resolve => child_process.execFile(path, args,
{
env: { ...process.env, LC_MESSAGES: 'en_US' },
env: { ...process.env, LC_MESSAGES: 'en_US.UTF-8' },
maxBuffer: maxBuffer,
},
(error, stdout, stderr) => resolve(error