File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 19
19
channel : ' stable'
20
20
- run : dart pub get
21
21
- name : Build app
22
- run : dart compile exe -D POSTHOG_API_KEY=" ${{ secrets.POSTHOG_API_KEY }}" bin/stacked.dart
22
+ run : dart compile exe -D POSTHOG_API_KEY=${{ secrets.POSTHOG_API_KEY }} bin/stacked.dart
23
23
- name : release
24
24
uses : cycjimmy/semantic-release-action@v3
25
25
with :
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ class PosthogService {
45
45
'telemetry_config' ,
46
46
compactionStrategy: (entries, deletedEntries) => deletedEntries > 50 ,
47
47
);
48
-
49
- _log.info (message: 'Initialized with Key:${_apiKey .substring (0 , 2 )}' );
50
48
}
51
49
52
50
Future <void > _capture ({
@@ -56,7 +54,7 @@ class PosthogService {
56
54
try {
57
55
if (! enabled) return ;
58
56
59
- if (_apiKey.isEmpty) throw PostHogApiKeyNotFoundException () ;
57
+ if (_apiKey.isEmpty) return ;
60
58
61
59
final version = await _pubService.getCurrentVersion ();
62
60
You can’t perform that action at this time.
0 commit comments