File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,16 @@ pub fn generate_lockfile(ws: &Workspace<'_>) -> CargoResult<()> {
37
37
38
38
pub fn update_lockfile ( ws : & Workspace < ' _ > , opts : & UpdateOptions < ' _ > ) -> CargoResult < ( ) > {
39
39
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
+ }
46
46
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 ( ( ) ) ;
50
50
}
51
51
52
52
if opts. aggressive && opts. precise . is_some ( ) {
You can’t perform that action at this time.
0 commit comments