Skip to content

[CI][Dev] Fix shellcheck SC2034 and SC2086 errors in ci/scripts directory #46656

@hiroyuki-sato

Description

@hiroyuki-sato

Describe the enhancement requested

This is the sub issue #44748.

  • SC2086 check require quoting like ${download_url} -> "${download_url}".
  • SC2034 For keep argument order. Add skip shellcheck comment.
In ci/scripts/install_conda.sh line 30:
version=$2
^-----^ SC2034 (warning): version appears unused. Verify use (or export if used externally).


In ci/scripts/install_conda.sh line 37:
wget -nv ${download_url} -O /tmp/installer.sh
         ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Component(s)

Continuous Integration

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions