Skip to content

Commit 6199d79

Browse files
committed
fix static methods
1 parent dc1b245 commit 6199d79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/utils/utils.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Utils {
6666
}
6767

6868
/// Returns the list of modified file names
69-
Future<List<String>> getModifiedFileNames({
69+
static Future<List<String>> getModifiedFileNames({
7070
List<String> directories = const ['lib', 'test'],
7171
}) async {
7272
final result = await Process.run(
@@ -87,7 +87,7 @@ class Utils {
8787
}
8888

8989
/// Check if the branch name is supported for the beginning of the name
90-
void isBranchNameValid(
90+
static void isBranchNameValid(
9191
String branchName, {
9292
// additional branch names that you want to support, optional
9393
List<String>? additionalBranchNames,

0 commit comments

Comments
 (0)