From 5d24a75ac9a3438974d5e62131951361e29e0ec8 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 14 Jun 2019 12:45:42 +0300 Subject: [PATCH] docs: minor fix in `get-commit-range.js` docs (#31049) PR Close #31049 --- .circleci/get-commit-range.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/get-commit-range.js b/.circleci/get-commit-range.js index 75477105e7c..47cd823d54e 100644 --- a/.circleci/get-commit-range.js +++ b/.circleci/get-commit-range.js @@ -6,9 +6,9 @@ * node get-commit-range [ []] * ``` * - * Returns the value of the `CIRCLE_COMPARE_URL` environment variable (if defined) or, if this is - * not a PR build (i.e. `CIRCLE_PR_NUMBER` is not defined), retrieves the equivalent of - * `CIRCLE_COMPARE_URL` for jobs that are part of a rerun workflow. + * Returns the commit range, either extracting it from `compare-url` (if defined), which is of the + * format of the `CIRCLE_COMPARE_URL` environment variable, or by retrieving the equivalent of + * `CIRCLE_COMPARE_URL` for jobs that are part of a rerun workflow and extracting it from there. * * **Context:** * CircleCI sets the `CIRCLE_COMPARE_URL` environment variable (from which we can extract the commit