Skip to content

Commit

Permalink
Fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
obmarg committed May 17, 2023
1 parent ae6c69b commit eb9e17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/crates/server/src/servers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ fn export_embedded_files() -> Result<(), ServerError> {
let full_path = &environment.user_dot_grafbase_path;
archive
.unpack(full_path)
.map_err(|e| ServerError::WriteFile(full_path.to_string_lossy().into_owned()))?;
.map_err(|_| ServerError::WriteFile(full_path.to_string_lossy().into_owned()))?;

if fs::write(&version_path, current_version).is_err() {
let version_path_string = version_path.to_string_lossy().into_owned();
Expand Down

0 comments on commit eb9e17e

Please sign in to comment.