Skip to content

Commit

Permalink
remove scoped use
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Aug 7, 2023
1 parent ad8d091 commit fe2c10c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions packages/shorebird_cli/bin/shorebird.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import 'package:shorebird_cli/src/cache.dart';
import 'package:shorebird_cli/src/code_push_client_wrapper.dart';
import 'package:shorebird_cli/src/command_runner.dart';
import 'package:shorebird_cli/src/doctor.dart';
import 'package:shorebird_cli/src/git.dart';
import 'package:shorebird_cli/src/gradlew.dart';
import 'package:shorebird_cli/src/ios_deploy.dart';
import 'package:shorebird_cli/src/java.dart';
Expand Down Expand Up @@ -38,7 +37,6 @@ Future<void> main(List<String> args) async {
codePushClientWrapperRef,
doctorRef,
engineConfigRef,
gitRef,
gradlewRef,
iosDeployRef,
javaRef,
Expand Down
7 changes: 0 additions & 7 deletions packages/shorebird_cli/lib/src/git.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import 'dart:io';

import 'package:scoped/scoped.dart';
import 'package:shorebird_cli/src/process.dart';

/// A reference to a [Git] instance.
final gitRef = create(Git.new);

/// The [Git] instance available in the current zone.
Git get git => read(gitRef);

/// A wrapper around all git related functionality.
class Git {
static const executable = 'git';
Expand Down
1 change: 0 additions & 1 deletion packages/shorebird_cli/test/src/git_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ void main() {
() => body(),
values: {
processRef.overrideWith(() => process),
gitRef.overrideWith(() => git),
},
);
}
Expand Down

0 comments on commit fe2c10c

Please sign in to comment.