1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Merge pull request #4328 from howjmay/typo

fix typo
This commit is contained in:
Sylvestre Ledru 2023-02-08 18:28:28 +01:00 committed by GitHub
commit 588a890edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -457,7 +457,7 @@ fn prompt_file(path: &Path, options: &Options, is_dir: bool) -> bool {
}
if is_dir {
// We can't use metadata.permissions.readonly for directories because it only works on files
// So we have to handle wether a directory is writable on not manually
// So we have to handle whether a directory is writable on not manually
if let Ok(metadata) = fs::metadata(path) {
handle_writable_directory(path, options, &metadata)
} else {