Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
Linting and minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
synw committed Oct 23, 2019
1 parent 7b44329 commit 7252ba0
Show file tree
Hide file tree
Showing 17 changed files with 577 additions and 500 deletions.
8 changes: 4 additions & 4 deletions lib/sqlcool.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/// A library to use Sqflite with ease
library sqlcool;

export "src/database.dart";
export "src/bloc_select.dart";
export "src/database.dart";
export 'src/exceptions.dart';
export 'src/models.dart';
export 'src/schema/models/schema.dart';
export 'src/schema/models/table.dart';
export 'src/schema/models/column.dart';
export 'src/schema/models/dbmodels.dart';
export 'src/exceptions.dart';
export 'src/schema/models/schema.dart';
export 'src/schema/models/table.dart';
3 changes: 1 addition & 2 deletions lib/src/bloc_select.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ class SelectBloc {
: assert(database != null),
assert(database.isReady) {
if ((query == null) && (table == null)) {
throw (ArgumentError(
"Please provide either a table or a query argument"));
throw ArgumentError("Please provide either a table or a query argument");
}

_getItems();
Expand Down
Loading

0 comments on commit 7252ba0

Please sign in to comment.