File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44# See License.AGPL.txt in the project root for license information.
55
66# This script is used to test JetBrains prebuild warmup indexing (search warmup-indexing.sh in codebase)
7- # It will get the last indexing json file (scan type FULL_ON_PROJECT_OPEN )
7+ # It will get the last indexing json file (scan reason `On project open` )
88# and check if the scheduled indexing count is greater than a specified threshold
99#
1010# `exit 0` means JetBrains IDEs no need to indexing again
@@ -19,7 +19,7 @@ JsonFiles=$(find "$ProjectIndexingFolder" -type f -name "*.json")
1919
2020FilteredJsonFiles=()
2121for jsonFile in $JsonFiles ; do
22- if jq -e ' .projectIndexingActivityHistory.times.scanningType == "FULL_ON_PROJECT_OPEN "' " $jsonFile " > /dev/null; then
22+ if jq -e ' .projectIndexingActivityHistory.times.scanningReason == "On project open "' " $jsonFile " > /dev/null; then
2323 FilteredJsonFiles+=(" $jsonFile " )
2424 fi
2525done
You can’t perform that action at this time.
0 commit comments