소스 검색

build(linux): use vscode's ripgrep (#1205)

Baptiste Augrain 2 년 전
부모
커밋
bfdaf23c6d
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      docs/build.md
  2. 1 1
      undo_telemetry.sh

+ 0 - 1
docs/build.md

@@ -35,7 +35,6 @@
 - dpkg
 - python3
 - imagemagick (for AppImage)
-- ripgrep
 
 ### <a id="dependencies-macos"></a>MacOS
 

+ 1 - 1
undo_telemetry.sh

@@ -29,7 +29,7 @@ d1=`date +%s`
 
 if [[ "${OS_NAME}" == "linux" ]]; then
   if [[ ${VSCODE_ARCH} == "x64" ]]; then
-    rg --no-ignore -l "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}"
+    ./node_modules/@vscode/ripgrep/bin/rg --no-ignore -l "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}"
   else
     grep -rl --exclude-dir=.git -E "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}"
   fi