소스 검색

fix for jq-1.5

Christopher Mullins 6 년 전
부모
커밋
591815a271
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .prepare_docs

+ 1 - 1
.prepare_docs

@@ -36,4 +36,4 @@ cp "${redoc_bundle_file}" "${branch_docs_dir}/index.html"
 
 # Create a JSON file containing a list of all branches with docs (we'll
 # have an index page that renders the list).
-ls "${BRANCHES_DIR}" | jq -R | jq -sc > "${DIST_DIR}/branches.json"
+ls "${BRANCHES_DIR}" | jq -Rc '.' | jq -sc '.' > "${DIST_DIR}/branches.json"