We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc87951 commit 826191fCopy full SHA for 826191f
src/helpers/unarchive.rs
@@ -273,7 +273,7 @@ fn expand(downloaded_file: &LocalVersion) -> Result<()> {
273
downloaded_file.path, downloaded_file.file_name
274
));
275
276
- let file = Path::from(downloaded_file.file_name).join("bin/nvim");
+ let file = PathBuf::from(downloaded_file.file_name).join("bin/nvim");
277
let mut perms = fs::metadata(file)?.permissions();
278
perms.set_mode(0o755);
279
fs::set_permissions(file, perms)?;
0 commit comments