Skip to content

Commit

Permalink
fixed a bug when running makecache
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Delaere committed Nov 16, 2017
1 parent 7f475ff commit f28eb98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ fn description(desc: String) {
INFO_DESCRIPTION.lock().unwrap().push(desc.replace("\"", "\\\""));
}

fn description_cache(desc: &str) {
add_to_info_general(desc);
fn description_cache(desc: String) {
add_to_info_general(&desc);
}

pub fn run(path: &PathBuf, action: &str) {
Expand Down

0 comments on commit f28eb98

Please sign in to comment.