Skip to content

Commit a24196f

Browse files
committed
Fix format, provide missed error
1 parent 75408f7 commit a24196f

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

superuser/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.0.1
2+
3+
* Resolve lower score due to violation of formatting
4+
* Provide `SuperuserProcessError` for catching error when fetching from plugin.
5+
16
## 1.0.0
27

38
* Add error handling

superuser/lib/instance.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ library instance;
33

44
import 'package:superuser/superuser.dart';
55

6-
export 'package:superuser_interfaces/superuser_interfaces.dart' show SuperuserInterface;
6+
export 'package:superuser_interfaces/superuser_interfaces.dart'
7+
show SuperuserInterface;
78
export 'src/instance.dart' show SuperuserInstance;

superuser/lib/superuser.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
/// as well as username who run current Flutter program.
55
library superuser;
66

7+
export 'package:superuser_interfaces/superuser_interfaces.dart'
8+
show SuperuserProcessError;
9+
710
import 'package:superuser_interfaces/superuser_interfaces.dart'
811
show MockSuperuser;
912

superuser/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: superuser
22
description: Detect, verify user who execute Flutter program has superuser role and running with superuser permission.
3-
version: 1.0.0
3+
version: 1.0.1
44
homepage: https://github.com/rk0cc/superuser
55
repository: https://github.com/rk0cc/superuser/tree/main/superuser
66
funding:

0 commit comments

Comments
 (0)