Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 1114b03

Browse files
victorbeddiemoore
authored andcommittedMay 8, 2018
Stop outputting upload-token in logs (#97)
Instead of dumping `query` object directly, output a selected set of values (don't output the upload_token) Introduced in 4be4171 Closes #94
1 parent e903e88 commit 1114b03

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎lib/codecov.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,12 @@ var upload = function(args, on_success, on_failure){
261261

262262
console.log("==> Configuration: ");
263263
console.log(" Endpoint: " + codecov_endpoint);
264-
console.log(query);
264+
// Don't output `query` directly as it contains the upload token
265+
console.log({
266+
commit: query.commit,
267+
branch: query.branch,
268+
package: query.package
269+
});
265270

266271
var upload = "";
267272

0 commit comments

Comments
 (0)
This repository has been archived.