Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kngwyu committed Oct 24, 2018
1 parent a177d0d commit e0da9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/racer/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl MetadataCache {
.or_else(|e| {
if let metadata::ErrorKind::Subprocess(ref s) = e {
// HACK: if --frozen failed, try again without --frozen
if s.contains("error: unable to get packages from source") {
if s.contains("--frozen") {
info!("MetadataCache: try again without --frozen");
return metadata::run(manifest, false);
}
Expand Down

0 comments on commit e0da9bd

Please sign in to comment.