Skip to content

Commit 4a8901e

Browse files
committed
Merge remote-tracking branch 'remotes/origin/main' into hotfix/clang_riscv_system_lib_handling
2 parents ff55c26 + a915f17 commit 4a8901e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/index.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai
171171
else:
172172
update_package = True
173173

174-
if force:
175-
update_package = True
176-
177174
doc = {
178175
'name': name_without_extension,
179176
'display_name' : metadata_item['display_name'],
@@ -214,7 +211,7 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai
214211
parser.add_argument("repo", help="Repository name, e.g., 'username/repo'")
215212
parser.add_argument("token", help="GitHub Token")
216213
parser.add_argument("select_index", help="Provided index name")
217-
parser.add_argument("force_index", help="If true will update packages even if hash is the same")
214+
parser.add_argument("force_index", help="If true will update packages even if hash is the same", type=bool)
218215
args = parser.parse_args()
219216

220217
# Elasticsearch instance used for indexing

0 commit comments

Comments
 (0)