Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com>2022-05-17 16:37:16 +0300
committerMarcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com>2022-05-17 16:37:16 +0300
commit1c0a0f0d99b8d918ee32f220e7eb2489c2de2b78 (patch)
treed04fefb0fcf996198e4b24c053595b0e7ef650bc
parenta2e49a7469d10d682651a36aba278535da2be27a (diff)
parent68bbd34bf6c5618f5bd9deb8db1ff0b3334e60cf (diff)
Merge branch 'axil-command-which' into 'main'
Replace 'command' with 'which' Closes #1182 See merge request gitlab-org/gitlab-docs!2674
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index ec93f2c6..cdb5820a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -277,7 +277,7 @@ namespace :docs do
ENV['LEFTHOOK'] = '0'
# Check jq is available
- abort("jq not found. Install jq and run task again.") if `command -v jq`.empty?
+ abort("jq not found. Install jq and run task again.") if `which jq`.empty?
puts "=> (gitlab-docs): Stashing changes of gitlab-docs and syncing with upstream default branch"
system("git stash --quiet -u") if git_workdir_dirty?