Skip to content

Commit 8b14666

Browse files
Update scripts/package_tracking/track_package_updates.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 375db0a commit 8b14666

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/package_tracking/track_package_updates.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ get_current_versions() {
191191
log "DEBUG" "Found $total_packages packages to process"
192192

193193
> "${CURRENT_VERSIONS_FILE}.tmp" # Create or truncate the temporary file
194-
# Set restrictive permissions on temporary file
195-
chmod 600 "${CURRENT_VERSIONS_FILE}.tmp" 2>/dev/null || true
194+
chmod 600 "${CURRENT_VERSIONS_FILE}.tmp" 2>/dev/null || log "WARNING" "Could not set restrictive permissions on temporary file ${CURRENT_VERSIONS_FILE}.tmp"
196195

197196
while IFS= read -r pkg; do
198197
# Skip empty lines and comments

0 commit comments

Comments
 (0)