File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub(crate) enum Cmd {
1919 Help ,
2020 None ,
2121 Server ,
22- UploadToGithub ( Config ) ,
22+ UploadToGithub ( Box < Config > ) ,
2323}
2424
2525impl Cmd {
@@ -76,7 +76,7 @@ impl Cmd {
7676 Some ( Command :: Server ) => Cmd :: Server ,
7777 Some ( Command :: UploadToGithub ( _) ) => {
7878 let conf = Config :: from ( opts) ;
79- Cmd :: UploadToGithub ( conf)
79+ Cmd :: UploadToGithub ( Box :: new ( conf) )
8080 }
8181 None => {
8282 let conf = Config :: from ( opts) ;
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ Please open an issue at https://github.com/sbdchd/squawk/issues/new with the log
188188 squawk_server:: run ( ) . context ( "language server failed" ) ?;
189189 }
190190 Cmd :: UploadToGithub ( config) => {
191- github:: check_and_comment_on_pr ( config) . context ( "Upload to GitHub failed" ) ?;
191+ github:: check_and_comment_on_pr ( * config) . context ( "Upload to GitHub failed" ) ?;
192192 }
193193 Cmd :: Debug ( debug_args) => {
194194 let stdout = io:: stdout ( ) ;
You can’t perform that action at this time.
0 commit comments