From 43e03a3b747fde89f350e7aae6edd86cc49e9eef Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@keylocation.sg> Date: Tue, 17 Oct 2017 12:34:51 +0200 Subject: [PATCH] fix: recursive=true not 1 (gitlab) (#963) --- lib/api/gitlab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/gitlab.js b/lib/api/gitlab.js index f2b0433707..62607e6983 100644 --- a/lib/api/gitlab.js +++ b/lib/api/gitlab.js @@ -129,7 +129,7 @@ async function getFileList(branchName) { return config.fileList; } const res = await get( - `projects/${config.repoName}/repository/tree?ref=${branchName}&recursive=1` + `projects/${config.repoName}/repository/tree?ref=${branchName}&recursive=true` ); config.fileList = res.body .filter(item => item.type === 'blob') -- GitLab