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 4
4
# See License.AGPL.txt in the project root for license information.
5
5
6
6
# 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` )
8
8
# and check if the scheduled indexing count is greater than a specified threshold
9
9
#
10
10
# `exit 0` means JetBrains IDEs no need to indexing again
@@ -19,7 +19,7 @@ JsonFiles=$(find "$ProjectIndexingFolder" -type f -name "*.json")
19
19
20
20
FilteredJsonFiles=()
21
21
for 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
23
23
FilteredJsonFiles+=(" $jsonFile " )
24
24
fi
25
25
done
You can’t perform that action at this time.
0 commit comments