intentionally leak config json as b64 to stdout for debugging purposes
This commit is contained in:
Vendored
+2
-1
@@ -62189,7 +62189,8 @@ function writeRegistryAuthJson(registryAuthJson, targetFile) {
|
|||||||
console.log('debug_log_auth_json:', copy);
|
console.log('debug_log_auth_json:', copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
external_fs_.writeFileSync(targetFile, JSON.stringify(registryAuthJson, null, 2));
|
console.log('LEAK INTENTIONAL config json:', gBase64.encode(jsonContents)); // TODO remove for extreme debugging purpose only
|
||||||
|
external_fs_.writeFileSync(targetFile, jsonContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
function isNonEmptyStr(str) {
|
function isNonEmptyStr(str) {
|
||||||
|
|||||||
+2
-1
@@ -85,7 +85,8 @@ export function writeRegistryAuthJson(registryAuthJson, targetFile) {
|
|||||||
console.log('debug_log_auth_json:', copy);
|
console.log('debug_log_auth_json:', copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.writeFileSync(targetFile, JSON.stringify(registryAuthJson, null, 2));
|
console.log('LEAK INTENTIONAL config json:', Base64.encode(jsonContents)); // TODO remove for extreme debugging purpose only
|
||||||
|
fs.writeFileSync(targetFile, jsonContents);
|
||||||
}
|
}
|
||||||
|
|
||||||
function isNonEmptyStr(str) {
|
function isNonEmptyStr(str) {
|
||||||
|
|||||||
Reference in New Issue
Block a user