Skip to content

Commit

Permalink
Fixed GitHub Action and tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AbgarSim committed Jan 26, 2024
1 parent 7bf20ae commit 2c993ca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,5 @@ jobs:
- name: Install dependencies
run: flutter pub get

- name: Analyze project source
run: flutter analyze

- name: Run tests
run: flutter test
1 change: 0 additions & 1 deletion lib/src/service/setup/hive_config.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:flutter/cupertino.dart';
import 'package:hive/hive.dart';
import 'package:panda_sync/src/model/request.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/src/service/sync_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SyncManager<T> {
var request = queueManager.pop();
if (request != null) {
try {
var response = await processRequest(request);
await processRequest(request);
//await localStorageService.post(request.key, response);
} catch (e) {
// Handle error - optionally re-queue the request
Expand Down

0 comments on commit 2c993ca

Please sign in to comment.