File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,16 +37,16 @@ pub fn generate_lockfile(ws: &Workspace<'_>) -> CargoResult<()> {
3737
3838pub fn update_lockfile ( ws : & Workspace < ' _ > , opts : & UpdateOptions < ' _ > ) -> CargoResult < ( ) > {
3939 if opts. workspace {
40- if opts. aggressive {
41- anyhow:: bail!( "cannot specify aggressive for workspace updates" ) ;
42- }
43- if opts. precise . is_some ( ) {
44- anyhow:: bail!( "cannot specify precise for workspace updates" ) ;
45- }
40+ if opts. aggressive {
41+ anyhow:: bail!( "cannot specify aggressive for workspace updates" ) ;
42+ }
43+ if opts. precise . is_some ( ) {
44+ anyhow:: bail!( "cannot specify precise for workspace updates" ) ;
45+ }
4646
47- ws. emit_warnings ( ) ?;
48- let ( _packages, _resolve) = ops:: resolve_ws ( ws) ?;
49- return Ok ( ( ) )
47+ ws. emit_warnings ( ) ?;
48+ let ( _packages, _resolve) = ops:: resolve_ws ( ws) ?;
49+ return Ok ( ( ) ) ;
5050 }
5151
5252 if opts. aggressive && opts. precise . is_some ( ) {
You can’t perform that action at this time.
0 commit comments