From e0da9bdc5d076b8d6cc11b86e09f0fd140cd3229 Mon Sep 17 00:00:00 2001 From: kngwyu Date: Wed, 24 Oct 2018 19:07:27 +0900 Subject: [PATCH] Fix test failure --- src/racer/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/racer/metadata.rs b/src/racer/metadata.rs index c3d3956b..312d4424 100644 --- a/src/racer/metadata.rs +++ b/src/racer/metadata.rs @@ -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); }