File tree Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Original file line number Diff line number Diff line change @@ -6,29 +6,28 @@ publish_to: none
66
77dependencies :
88 args : ^2.1.0
9- async : ^2.6.1
10- collection : ^1.15 .0
9+ async : ^2.10.0
10+ collection : ^1.17 .0
1111 colorize : ^3.0.0
12- file : ^6.1.0
13- # Pin git to 2.0.x until dart >=2.18 is legacy
14- git : ' >=2.0.0 <2.1.0'
15- http : ' >=0.13.3 <2.0.0'
12+ file : ^7.0.1
13+ git : ^2.0.0
14+ http : ^1.0.0
1615 http_multi_server : ^3.0.1
17- meta : ^1.3 .0
18- path : ^1.8.0
19- platform : ^3.0.0
16+ meta : ^1.10 .0
17+ path : ^1.8.3
18+ platform : ^3.0.2
2019 pub_semver : ^2.0.0
21- pubspec_parse : ^1.0.0
20+ pubspec_parse : ^1.2.2
2221 quiver : ^3.0.1
23- test : ^1.17.3
24- uuid : ^3.0.4
22+ test : ^1.24.0
23+ uuid : ^4.5.1
2524 yaml : ^3.1.0
2625 yaml_edit : ^2.0.2
2726
2827dev_dependencies :
29- build_runner : ^2.0.3
30- matcher : ^0.12.10
28+ build_runner : ^2.2.1
29+ matcher : ^0.12.15
3130 mockito : ^5.4.4
3231
3332environment :
34- sdk : ' >=3.0.0 <4.0.0 '
33+ sdk : ^3.1.0
Original file line number Diff line number Diff line change @@ -244,20 +244,27 @@ class MockGitDir extends _i1.Mock implements _i4.GitDir {
244244 _i6.Future <_i10.ProcessResult > runCommand (
245245 Iterable <String >? args, {
246246 bool ? throwOnError = true ,
247+ bool ? echoOutput = false ,
247248 }) =>
248249 (super .noSuchMethod (
249250 Invocation .method (
250251 #runCommand,
251252 [args],
252- {#throwOnError: throwOnError},
253+ {
254+ #throwOnError: throwOnError,
255+ #echoOutput: echoOutput,
256+ },
253257 ),
254258 returnValue: _i6.Future <_i10.ProcessResult >.value (
255259 _i5.dummyValue< _i10.ProcessResult > (
256260 this ,
257261 Invocation .method (
258262 #runCommand,
259263 [args],
260- {#throwOnError: throwOnError},
264+ {
265+ #throwOnError: throwOnError,
266+ #echoOutput: echoOutput,
267+ },
261268 ),
262269 )),
263270 ) as _i6.Future <_i10.ProcessResult >);
@@ -274,7 +281,7 @@ class MockGitDir extends _i1.Mock implements _i4.GitDir {
274281 @override
275282 _i6.Future <_i2.Commit ?> updateBranch (
276283 String ? branchName,
277- _i6.Future <dynamic > Function (_i10.Directory )? populater,
284+ _i6.Future <void > Function (_i10.Directory )? populater,
278285 String ? commitMessage,
279286 ) =>
280287 (super .noSuchMethod (
You can’t perform that action at this time.
0 commit comments