Skip to content

Commit 5fa2e2a

Browse files
authored
chore(cloud_auth): Remove some leftover print statements (#221)
Clean up from debugging
1 parent 0e831d8 commit 5fa2e2a

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ And to stay up-to-date on the future of Celest, including full server-side rende
1414
To get started with Celest, you'll need to configure your development environment so that you have Flutter and the Celest CLI installed on your machine.
1515

1616
1. Install [Flutter](https://docs.flutter.dev/get-started/install) from the official website
17-
3. [Download](https://celest.dev/download) and install the Celest CLI
17+
2. [Download](https://celest.dev/download) and install the Celest CLI
1818

1919
### Creating a project
2020

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.0+1
2+
3+
- chore: Remove some leftover print statements
4+
15
## 0.1.0
26

37
- Initial release.

services/celest_cloud_auth/lib/src/database/auth_database.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ class AuthDatabase extends $AuthDatabase {
226226
});
227227
}
228228
});
229-
// _logger.finest(() {
230-
// });
231-
final policyIds = policySet.policies.entries
232-
.map((pol) => pol.value.id ?? pol.key)
233-
.sorted();
234-
print('Effective policies: $policyIds');
229+
_logger.finest(() {
230+
final policyIds = policySet.policies.entries
231+
.map((pol) => pol.value.id ?? pol.key)
232+
.sorted();
233+
return 'Effective policies: $policyIds';
234+
});
235235
return policySet;
236236
}
237237

services/celest_cloud_auth/lib/src/model/route_map.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ extension type const RouteMap(Map<EntityUid, Route> _routes)
1515
}) {
1616
final collector = _RouteCollector();
1717
project.accept(collector);
18-
final routeMap = RouteMap({
18+
return RouteMap({
1919
...collector._routes,
2020
...additionalRoutes,
2121
});
22-
print(routeMap);
23-
return routeMap;
2422
}
2523
}
2624

services/celest_cloud_auth/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: celest_cloud_auth
22
description: A Dart-native authentication and authorization service built on Celest, Cedar, and SQLite.
3-
version: 0.1.0
3+
version: 0.1.0+1
44
homepage: https://celest.dev
55
repository: https://github.com/celest-dev/celest/tree/main/services/celest_cloud_auth
66

0 commit comments

Comments
 (0)