Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shellcheck@0.4.7 #48

Merged
merged 1 commit into from
Jan 5, 2018
Merged

shellcheck@0.4.7 #48

merged 1 commit into from
Jan 5, 2018

Conversation

davidchambers
Copy link
Owner

koalaman/shellcheck@v0.4.6...v0.4.7

I don't know how to tell Travis to use a specific version of the package.

xyz
@@ -66,7 +66,7 @@ Options:
"

abort() {
printf "%s\n" "$1" >&2
printf '%s\n' "$1" >&2
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  printf "%s\n" "$1" >&2
            ^-- SC1117

SC1117: Backslash is literal in "\n". Prefer explicit escaping: "\\n".

xyz
@@ -102,7 +102,7 @@ inc() {
for (( idx = ${#xs[@]} - 1 ; idx > 0 ; idx -= 1 )) ; do
pattern="^($number)$"
if [[ ${xs[idx]} =~ $pattern ]] ; then
parts=(${xs[@]})
parts=("${xs[@]}")
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

              parts=(${xs[@]})
                     ^-- SC2206

SC2206: Quote to prevent word splitting, or split robustly with mapfile or read -a.

@davidchambers davidchambers merged commit f7702d6 into master Jan 5, 2018
@davidchambers davidchambers deleted the shellcheck branch January 5, 2018 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant