| Index: utils/pub/oauth2.dart
|
| ===================================================================
|
| --- utils/pub/oauth2.dart (revision 20601)
|
| +++ utils/pub/oauth2.dart (working copy)
|
| @@ -66,9 +66,7 @@
|
| void clearCredentials(SystemCache cache) {
|
| _credentials = null;
|
| var credentialsFile = _credentialsFile(cache);
|
| - if (!fileExists(credentialsFile)) return;
|
| -
|
| - deleteFile(credentialsFile);
|
| + if (entryExists(credentialsFile)) deleteEntry(credentialsFile);
|
| }
|
|
|
| /// Asynchronously passes an OAuth2 [Client] to [fn], and closes the client when
|
|
|