Index: utils/pub/oauth2.dart |
diff --git a/utils/pub/oauth2.dart b/utils/pub/oauth2.dart |
index 78cd4c2766cf2d2fb0a577c0fc43e25c96a9a3c6..ec3d745f2d2a29af175592cc10d985102edfb6c6 100644 |
--- a/utils/pub/oauth2.dart |
+++ b/utils/pub/oauth2.dart |
@@ -139,7 +139,7 @@ Future _saveCredentials(SystemCache cache, Credentials credentials) { |
_credentials = credentials; |
var path = _credentialsFile(cache); |
return ensureDir(dirname(path)).chain((_) => |
- writeTextFile(path, credentials.toJson())); |
+ writeTextFile(path, credentials.toJson(), dontLogContents: true)); |
} |
/// The path to the file in which the user's OAuth2 credentials are stored. |