Commit c7b15b1 Tom Dyas
committed
1 parent 147af44 commit c7b15b1 Copy full SHA for c7b15b1
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ impl Core {
137
137
named_caches_dir : & Path ,
138
138
process_execution_metadata : & ProcessMetadata ,
139
139
exec_strategy_opts : & ExecutionStrategyOptions ,
140
- ) -> Result < Box < dyn CommandRunner > , String > {
140
+ ) -> Box < dyn CommandRunner > {
141
141
let local_command_runner = process_execution:: local:: CommandRunner :: new (
142
142
store. clone ( ) ,
143
143
executor. clone ( ) ,
@@ -158,10 +158,10 @@ impl Core {
158
158
Box :: new ( local_command_runner)
159
159
} ;
160
160
161
- Ok ( Box :: new ( BoundedCommandRunner :: new (
161
+ Box :: new ( BoundedCommandRunner :: new (
162
162
maybe_nailgunnable_local_command_runner,
163
163
exec_strategy_opts. local_parallelism ,
164
- ) ) )
164
+ ) )
165
165
}
166
166
167
167
fn make_remote_execution_runner (
@@ -209,7 +209,7 @@ impl Core {
209
209
named_caches_dir,
210
210
process_execution_metadata,
211
211
& exec_strategy_opts,
212
- ) ? ;
212
+ ) ;
213
213
214
214
let command_runner: Box < dyn CommandRunner > = if remoting_opts. execution_enable {
215
215
let remote_command_runner: Box < dyn process_execution:: CommandRunner > = {
You can’t perform that action at this time.
0 commit comments