mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Don't print env vars if Node's execFileSync fails
Just print the error message, to avoid printing sensitive information (like API access tokens).
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ fs.readdirSync(l10nPath).forEach((file) => {
|
||||
|
||||
fs.accessSync(poPath, fs.R_OK);
|
||||
|
||||
childProcess.execFileSync('msgfmt', [
|
||||
helpers.safeExecFileSync('msgfmt', [
|
||||
poPath,
|
||||
'-o',
|
||||
moPath,
|
||||
|
||||
Reference in New Issue
Block a user