mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
build: bump windows from 0.37.0 to 0.38.0 (#4105)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -48,7 +48,7 @@ pub fn is_write_allowed(folder_path: &Path) -> std::result::Result<bool, String>
|
||||
|
||||
// expect ERROR_INSUFFICIENT_BUFFER
|
||||
match rc.ok() {
|
||||
Err(e) if e.win32_error() == Some(ERROR_INSUFFICIENT_BUFFER) => (),
|
||||
Err(e) if e.code() == ERROR_INSUFFICIENT_BUFFER.into() => (),
|
||||
result => return Err(format!("GetFileSecurityW returned unexpected return value when asked for the security descriptor size: {:?}", result)),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user