From a6fc0d690e3d7c1b930b858b1e817efad98b23dd Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Wed, 15 Jan 2020 16:31:37 +0100
Subject: [PATCH] fix(bundler): return artifact error for "bundle lock" was
 called with arguments

---
 lib/manager/bundler/artifacts.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/manager/bundler/artifacts.ts b/lib/manager/bundler/artifacts.ts
index 7c592b615f..f24178d37d 100644
--- a/lib/manager/bundler/artifacts.ts
+++ b/lib/manager/bundler/artifacts.ts
@@ -138,7 +138,8 @@ export async function updateArtifacts(
     const output = err.stdout + err.stderr;
     if (
       err.message.includes('fatal: Could not parse object') ||
-      output.includes('but that version could not be found')
+      output.includes('but that version could not be found') ||
+      output.includes('"bundle lock" was called with arguments')
     ) {
       return [
         {
-- 
GitLab