summaryrefslogtreecommitdiff
path: root/scripts/undercoverage
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/undercoverage')
-rwxr-xr-xscripts/undercoverage2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/undercoverage b/scripts/undercoverage
index cc7415d67ac..d6e6197911e 100755
--- a/scripts/undercoverage
+++ b/scripts/undercoverage
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-bundle exec undercover -c "${CI_MERGE_REQUEST_DIFF_BASE_SHA:-$(git merge-base origin/master HEAD)}"
+bundle exec undercover -c "${1:-$(git merge-base origin/master HEAD)}"