style(path): fix formatting
This commit is contained in:
		
							parent
							
								
									3fd8bfccab
								
							
						
					
					
						commit
						c10dab9e80
					
				| 
						 | 
				
			
			@ -77,7 +77,8 @@ pub fn resolve_paths(
 | 
			
		|||
    packages_dir
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  let is_portable_mode = is_portable_mode() && force_config_dir.is_none() && force_runtime_dir.is_none();
 | 
			
		||||
  let is_portable_mode =
 | 
			
		||||
    is_portable_mode() && force_config_dir.is_none() && force_runtime_dir.is_none();
 | 
			
		||||
 | 
			
		||||
  Paths {
 | 
			
		||||
    config: config_dir,
 | 
			
		||||
| 
						 | 
				
			
			@ -312,9 +313,9 @@ fn is_legacy_runtime_dir(path: &Path) -> bool {
 | 
			
		|||
  for candidate in LEGACY_RUNTIME_DIR_CANDIDATES_FILE {
 | 
			
		||||
    let candidate_path = path.join(candidate);
 | 
			
		||||
    if candidate_path.is_file() {
 | 
			
		||||
      return true
 | 
			
		||||
      return true;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  false
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user